speedment / speedment-gradle-plugin

Speedment Gradle Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Speedment Gradle plugin

Join the chat at https://gitter.im/speedment/speedment

Plugin adds Gradle tasks to run Speedment GUI and to generate source files from configuration.

Getting Started

Add and apply plugin in your project's build.gradle file.

buildscript {
    repositories {
        maven {
            url 'https://plugins.gradle.org/m2/'
        }
    }
    dependencies {
        classpath 'gradle.plugin.com.speedment.gradle:SpeedmentGradlePlugin:2.3.5'
        // Optional dependency to library with custom components.
        // classpath files('custom-components.jar')
    }
}

// Optional custom component include.
// include my.company.CustomComponentConstructor

//ext {
//    Optional path to config file. Default is: src/main/json/speedment.json
//    speedmentConfigFile = '/path/to/my/config/file.json'
//
//    Optional list of components. See http://www.ageofjava.com/2016/04/how-to-generate-customized-java-8-code.html
//    speedmentComponentConstructors = [
//            new CustomComponentConstructor()
//    ]
//}

apply plugin: 'com.speedment.gradle'

// ...

dependencies {
    compile('com.speedment:speedment:2.3.5')
    // Optional dependency to library with custom components.
    // compile files('custom-components.jar')
}

Then call one of two new tasks.

  • gradle speedment.Gui Opens Speedment GUI.
  • gradle speedment.Generate Generates Java classes from config file.

License

Speedment is available under the Apache 2 License.

Copyright

Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.

Visit www.speedment.com for more info.

About

Speedment Gradle Plugin

License:Apache License 2.0


Languages

Language:Java 100.0%