summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorAizistral2022-07-27 22:04:20 +0200
committerAizistral2022-07-27 22:04:20 +0200
commit39a9692c9c3a8414f37660e7ed022695ab675215 (patch)
treeed326c43b1db0bfddd3ea31ebc3c81ea8be2452c /build.gradle
parentcbdeb1e4bf6220465c184b541f333380ae825068 (diff)
Update to 1.19.1
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle17
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
}