Remove the Main-Class attribute of .jar files.
This commit is contained in:
parent
b5fe315810
commit
3af606ce79
@ -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}")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user