forked from processing/processing4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
70 lines (62 loc) · 1.65 KB
/
build.gradle.kts
File metadata and controls
70 lines (62 loc) · 1.65 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import com.vanniktech.maven.publish.SonatypeHost
plugins{
id("java")
alias(libs.plugins.mavenPublish)
}
repositories{
mavenCentral()
google()
maven { url = uri("https://jogamp.org/deployment/maven") }
}
sourceSets{
main{
java{
srcDirs("src/main/java", "../src/", "../generated/")
include("processing/mode/java/preproc/**/*", "processing/app/**/*")
}
}
}
dependencies{
implementation(libs.antlr)
implementation(libs.eclipseJDT)
implementation(project(":core"))
}
mavenPublishing{
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
signAllPublications()
pom{
name.set("Processing Pre-processor")
description.set("Processing Pre-processor")
url.set("https://processing.org")
licenses {
license {
name.set("LGPL")
url.set("https://www.gnu.org/licenses/lgpl-2.1.html")
}
}
developers {
developer {
id.set("steftervelde")
name.set("Stef Tervelde")
}
developer {
id.set("benfry")
name.set("Ben Fry")
}
}
scm{
url.set("https://github.com/processing/processing4")
connection.set("scm:git:git://github.com/processing/processing4.git")
developerConnection.set("scm:git:ssh://[email protected]/processing/processing4.git")
}
}
}
tasks.withType<Jar> {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
tasks.compileJava{
dependsOn("ant-preproc")
}
ant.importBuild("../build.xml"){ antTaskName ->
"ant-$antTaskName"
}