Remove the Main-Class attribute of .jar files.

This commit is contained in:
Username404-59 2021-04-14 14:35:52 +02:00
parent b5fe315810
commit 3af606ce79
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1

View File

@ -75,7 +75,6 @@ allprojects {
archiveClassifier.set("shadow")
}
withType(Jar::class) {
manifest.attributes["Main-Class"] = "$groupAndName.exec.InfoKt"
from("$rootDir/LICENSE.txt")
archiveBaseName.set("${rootProject.name}-${rootProject.version}")
}