Upgraded to Gradle 7.0.1

This commit is contained in:
Erik C. Thauvin 2021-05-11 20:50:41 -07:00
parent 0809e69dfc
commit 79945ad2df
6 changed files with 13 additions and 9 deletions

View file

@ -34,26 +34,26 @@ repositories {
}
application {
mainClassName = "com.example.App"
mainClass.set("com.example.App")
}
tasks {
register("runJava", JavaExec::class) {
group = "application"
main = "com.example.JavaApp"
classpath = sourceSets["main"].runtimeClasspath
classpath = sourceSets.main.get().runtimeClasspath
}
register("runJavaExample", JavaExec::class) {
group = "application"
main = "com.example.JavaExample"
classpath = sourceSets["main"].runtimeClasspath
classpath = sourceSets.main.get().runtimeClasspath
}
register("runExample", JavaExec::class) {
group = "application"
main = "com.example.Example"
classpath = sourceSets["main"].runtimeClasspath
classpath = sourceSets.main.get().runtimeClasspath
}
}

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists