We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a5341b commit 5ae7a85Copy full SHA for 5ae7a85
java/libraries/svg/build.gradle.kts
@@ -1 +1,40 @@
1
-ant.importBuild("build.xml")
+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
37
+ rename { "svg.jar" }
38
39
40
0 commit comments