Skip to content

Commit 2a5341b

Browse files
authored
Rename output JARs in createLibrary tasks (#1278)
The createLibrary tasks in dxf, pdf, and serial modules now rename the output JAR files to dxf.jar, pdf.jar, and serial.jar respectively as Processing does not expect the version name to be in the library jar
1 parent 845cb0c commit 2a5341b

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

java/libraries/dxf/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ tasks.register<Copy>("createLibrary"){
3535

3636
from(tasks.jar) {
3737
into("library")
38+
rename { "dxf.jar" }
3839
}
3940
}

java/libraries/pdf/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ tasks.register<Copy>("createLibrary"){
3535

3636
from(tasks.jar) {
3737
into("library")
38+
rename { "pdf.jar" }
3839
}
3940
}

java/libraries/serial/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ tasks.register<Copy>("createLibrary") {
3232
}
3333
from(tasks.jar) {
3434
into("library")
35+
rename { "serial.jar" }
3536
}
3637
}

0 commit comments

Comments
 (0)