Skip to content

Commit f1131ec

Browse files
committed
Update mainClassName property
This is required to work with Gradle 9. The mainClassName property was deprecated back in Gradle 8. See https://docs.gradle.org/current/userguide/upgrading_version_7.html#javaapplication_api_cleanup
1 parent a844c07 commit f1131ec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ plugins {
88

99
group = "org.exercism"
1010
version = "1.0-SNAPSHOT"
11-
mainClassName = "analyzer.AnalyzerCli"
11+
12+
application {
13+
mainClass = "analyzer.AnalyzerCli"
14+
}
1215

1316
repositories {
1417
mavenCentral()

0 commit comments

Comments
 (0)