Upgraded to Gradle 7.0.1
This commit is contained in:
parent
0809e69dfc
commit
79945ad2df
6 changed files with 13 additions and 9 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue