Added JDK 12 and Gradle 5.4.1 instructions. Closes #6
This commit is contained in:
parent
0ca574695f
commit
fb593a0a1a
2 changed files with 19 additions and 0 deletions
|
@ -28,6 +28,11 @@ dependencies {
|
|||
implementation semverProcessor
|
||||
}
|
||||
|
||||
// For Java 12+
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ]
|
||||
}
|
||||
|
||||
task runExample(type: JavaExec) {
|
||||
group = 'application'
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue