Skip to content

Commit 587eee0

Browse files
committed
make gradle 9.1 work wiht the config file
1 parent b48e0a0 commit 587eee0

1 file changed

Lines changed: 23 additions & 19 deletions

File tree

build.gradle

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -458,25 +458,29 @@ eclipse{
458458
}
459459
}
460460
}
461-
if (project == rootProject) {
462-
shadowJar {
463-
dependsOn 'spotlessApply'
464-
zip64 true
465-
466-
manifest {
467-
attributes 'Main-Class': 'com.neuronrobotics.bowlerstudio.BowlerStudio'
468-
}
469-
470-
if (project == rootProject) {
471-
archiveBaseName.set('BowlerStudio')
472-
archiveClassifier.set('')
473-
archiveVersion.set('')
474-
} else {
475-
archiveBaseName.set('BowlerStudio')
476-
archiveClassifier.set('')
477-
archiveVersion.set('')
478-
}
479461

480-
mergeServiceFiles()
462+
application {
463+
mainClass = 'com.neuronrobotics.bowlerstudio.BowlerStudio'
481464
}
465+
466+
if (project == rootProject) {
467+
shadowJar {
468+
dependsOn 'spotlessApply'
469+
zip64 true
470+
manifest {
471+
attributes 'Main-Class': 'com.neuronrobotics.bowlerstudio.BowlerStudio'
472+
}
473+
474+
if (project == rootProject) {
475+
archiveBaseName.set('BowlerStudio')
476+
archiveClassifier.set('')
477+
archiveVersion.set('')
478+
} else {
479+
archiveBaseName.set('BowlerStudio')
480+
archiveClassifier.set('')
481+
archiveVersion.set('')
482+
}
483+
484+
mergeServiceFiles()
485+
}
482486
}

0 commit comments

Comments
 (0)