File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -37,4 +37,13 @@ processResources {
3737
3838tasks. withType(JavaCompile ). configureEach {
3939 it. options. release = 17
40- }
40+ }
41+
42+ task copyJar (type : Copy ) {
43+ group = ' build'
44+ from remapJar
45+ if (! rootProject. file(' build/libs' ). exists()) rootProject. file(' build/libs' ). mkdirs()
46+ into rootProject. file(' build/libs' )
47+ }
48+
49+ remapJar. finalizedBy(copyJar)
Original file line number Diff line number Diff line change @@ -37,4 +37,13 @@ processResources {
3737
3838tasks. withType(JavaCompile ). configureEach {
3939 it. options. release = 17
40- }
40+ }
41+
42+ task copyJar (type : Copy ) {
43+ group = ' build'
44+ from remapJar
45+ if (! rootProject. file(' build/libs' ). exists()) rootProject. file(' build/libs' ). mkdirs()
46+ into rootProject. file(' build/libs' )
47+ }
48+
49+ remapJar. finalizedBy(copyJar)
You can’t perform that action at this time.
0 commit comments