Skip to content

Commit 5ae7a85

Browse files
committed
Update svg build.gradle.kts
1 parent 2a5341b commit 5ae7a85

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed
Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,40 @@
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+
}
15+
16+
dependencies {
17+
compileOnly(project(":core"))
18+
19+
implementation("org.apache.xmlgraphics:batik-all:1.19")
20+
}
21+
22+
tasks.register<Copy>("createLibrary") {
23+
dependsOn("jar")
24+
into(layout.buildDirectory.dir("library"))
25+
26+
from(layout.projectDirectory) {
27+
include("library.properties")
28+
include("examples/**")
29+
}
30+
31+
from(configurations.runtimeClasspath) {
32+
into("library")
33+
}
34+
35+
from(tasks.jar) {
36+
into("library")
37+
rename { "svg.jar" }
38+
}
39+
}
40+

0 commit comments

Comments
 (0)