-
-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
54 lines (45 loc) · 1.14 KB
/
build.gradle.kts
File metadata and controls
54 lines (45 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
plugins{
id("org.processing.library")
}
processing {
library {
version = 1
prettyVersion = "1.0.0"
authors = mapOf(
"The Processing Foundation" to "https://processing.org"
)
url = "https://processing.org/"
categories = listOf("file", "exporter", "dxf")
sentence = "DXF export library for Processing"
paragraph =
"This library allows you to export your Processing drawings as DXF files, which can be opened in CAD applications."
}
}
sourceSets {
main {
java {
srcDirs("src")
}
}
}
dependencies{
implementation("com.lowagie:itext:2.1.7")
}
/**
* @deprecated Legacy task, use 'bundleLibrary' task provided by 'org.processing.library' plugin
*/
tasks.register<Copy>("createLibrary") {
dependsOn("jar")
into(layout.buildDirectory.dir("library"))
from(layout.projectDirectory) {
include("library.properties")
include("examples/**")
}
from(configurations.runtimeClasspath) {
into("library")
}
from(tasks.jar) {
into("library")
rename { "dxf.jar" }
}
}