Skip to content

Commit

Permalink
ok this actually looks good???
Browse files Browse the repository at this point in the history
  • Loading branch information
yrsegal committed Aug 15, 2023
1 parent 6b5895a commit 8f66fb3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ def parseConfig(File config) {
}

jar {
//rename the default output, for some better... sanity with scipts
archiveName = "${baseName}-${version}.${extension}"
classifier "pure" // Jar without jar-in-jar

manifest {
attributes([
Expand Down Expand Up @@ -204,6 +203,16 @@ task deobfJar(type: Jar) {
from sourceSets.main.output
}

tasks.jarJar.configure {
classifier "" // "Main" jar should be the one with jar-in-jar

exclude "**/*.bat"
exclude "**/*.psd"
exclude "**/*.exe"
exclude "**/unused"
exclude "**/genscripts"
}

artifacts {
archives sourcesJar
archives deobfJar
Expand Down

0 comments on commit 8f66fb3

Please sign in to comment.