File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 prerelease : true
3535 files : |
3636 LICENSE
37- ./build/libs/CodeClient.jar
37+ ./build/libs/
Original file line number Diff line number Diff line change @@ -53,17 +53,6 @@ tasks.withType(JavaCompile).configureEach {
5353 if (targetJavaVersion >= 10 || JavaVersion . current(). isJava10Compatible()) {
5454 it. options. release = targetJavaVersion
5555 }
56- shadowJar {
57- dependsOn(relocate)
58- configurations = listOf(shade)
59- destinationDirectory. set(file(" build/devlibs" ))
60- archiveClassifier. set(" dev" )
61- from(" LICENSE" )
62- }
63-
64- remapJar {
65- inputFile. value(shadowJar. get(). archiveFile)
66- }
6756}
6857
6958java {
@@ -75,7 +64,13 @@ java {
7564 // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
7665 // if it is present.
7766 // If you remove this line, sources will not be generated.
78- withSourcesJar()
67+ // withSourcesJar()
68+ }
69+
70+ jar {
71+ from(" LICENSE" ) {
72+ rename { " ${ it} _${ project.archivesBaseName} " }
73+ }
7974}
8075
8176// configure the maven publication
You can’t perform that action at this time.
0 commit comments