Implemented changes to work with semver updated templates.
This commit is contained in:
parent
705410d269
commit
4b2c0add7d
5 changed files with 25 additions and 22 deletions
|
@ -11,20 +11,23 @@ apply plugin: 'kotlin'
|
|||
apply plugin: 'kotlin-kapt'
|
||||
apply plugin: 'application'
|
||||
|
||||
// ./gradlew
|
||||
// ./gradlew runJava
|
||||
|
||||
defaultTasks 'run'
|
||||
|
||||
def processorJar = files("lib/semver-0.9.7.jar")
|
||||
def processorJar = "net.thauvin.erik:semver:0.9.7"
|
||||
|
||||
mainClassName = 'com.example.Main'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
kapt processorJar
|
||||
compileOnly processorJar
|
||||
//compileOnly 'com.github.spullara.mustache.java:compiler:0.9.4'
|
||||
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
}
|
||||
|
@ -32,4 +35,4 @@ dependencies {
|
|||
task(runJava, type: JavaExec) {
|
||||
main 'com.example.Example'
|
||||
classpath sourceSets.main.runtimeClasspath
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue