Skip to content

Commit

Permalink
build: Forgot to setup sourcesJar
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 authored Oct 12, 2022
1 parent 75c1cef commit 49dfa2f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@ jar {
}
}


task sourcesJar(type: Jar) {
archiveClassifier.set('sources')
from sourceSets.main.allJava
}

artifacts {
archives sourcesJar
}

jar.finalizedBy('reobfJar')

reobf.create('jarJar')
Expand Down

0 comments on commit 49dfa2f

Please sign in to comment.