diff options
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 9ccf11e..ee7d355 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,24 @@ java { // withSourcesJar() } +task testJar (type: Jar) { + classifier = 'test' + from sourceSets.test.output + testJar.finalizedBy('prepareRemapJar') + testJar.finalizedBy('remapJar') + + from("LICENSE") { + // NO-OP + } + + doFirst { + remapJar.classifier = 'test-reobf' + remapJar.inputFile = testJar.outputs.files.singleFile + } +} + jar { + from("LICENSE") { // NO-OP } |
