diff --git a/build.gradle.kts b/build.gradle.kts index 352831d4..4877e13a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -43,7 +43,7 @@ File(rootProject.rootDir.path + "/src/main/yaml").listFiles() val task by tasks.register("run${it.nameWithoutExtension.capitalize()}") { group = alchemistGroup // This is for better organization when running ./gradlew tasks description = "Launches simulation ${it.nameWithoutExtension}" // Just documentation - main = "it.unibo.alchemist.Alchemist" // The class to launch + mainClass.set("it.unibo.alchemist.Alchemist") // The class to launch classpath = sourceSets["main"].runtimeClasspath // The classpath to use // In case our simulation produces data, we write it in the following folder: val exportsDir = File("${projectDir.path}/build/exports/${it.nameWithoutExtension}") diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c7d437bb..5c40527d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists