File tree Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ legacyLibraries.forEach { library ->
8787 }
8888}
8989
90- val libraries = arrayOf(" pdf" )
90+ val libraries = arrayOf(" dxf" , " pdf" )
91+
9192libraries.forEach { library ->
9293 val name = " create-$library -library"
9394 tasks.register<Copy >(name) {
Original file line number Diff line number Diff line change 1- ant.importBuild(" build.xml" )
1+ plugins{
2+ java
3+ }
4+
5+ sourceSets {
6+ main {
7+ java {
8+ srcDirs(" src" )
9+ }
10+ }
11+ }
12+ repositories{
13+ mavenCentral()
14+ maven(" https://jogamp.org/deployment/maven/" )
15+ }
16+
17+ dependencies{
18+ compileOnly(project(" :core" ))
19+
20+ implementation(" com.lowagie:itext:2.1.7" )
21+ }
22+
23+ tasks.register<Copy >(" createLibrary" ){
24+ dependsOn(" jar" )
25+ into(layout.buildDirectory.dir(" library" ))
26+
27+ from(layout.projectDirectory){
28+ include (" library.properties" )
29+ include(" examples/**" )
30+ }
31+
32+ from(configurations.runtimeClasspath){
33+ into(" library" )
34+ }
35+
36+ from(tasks.jar) {
37+ into(" library" )
38+ }
39+ }
You can’t perform that action at this time.
0 commit comments