Upgrade gradle build configuration marked for deprecation
*  Change application's `mainClassName` to `mainClass.set()` as it is
marked for deprecation
MODIFY
build.gradle.kts
build.gradle.kts
@@ -127,7 +127,7 @@ dependencies {
}
application {
- mainClassName = "de.fraunhofer.aisec.analysis.Main"
+ mainClass.set("de.fraunhofer.aisec.analysis.Main")
// Required to give Ehcache deep reflective access to fields to correctly esitmate the cache size.
applicationDefaultJvmArgs = listOf("--add-opens=java.base/java.lang=ALL-UNNAMED", "--add-opens=java.base/java.util=ALL-UNNAMED", "--add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED", "-Xss10M")
}

Upgrade gradle build configuration marked for deprecation (#136)

*  Change application's `mainClassName` to `mainClass.set()` as it is
marked for deprecation