mirror of
https://github.com/processing/processing4.git
synced 2026-01-25 09:21:07 +01:00
63 lines
1.6 KiB
Kotlin
63 lines
1.6 KiB
Kotlin
import com.vanniktech.maven.publish.SonatypeHost
|
|
|
|
plugins{
|
|
id("java")
|
|
id("com.vanniktech.maven.publish") version "0.30.0"
|
|
}
|
|
|
|
group = "org.processing"
|
|
version = "4.3.1"
|
|
|
|
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("org.antlr:antlr4:4.7.2")
|
|
implementation("org.eclipse.jdt:org.eclipse.jdt.core:3.40.0")
|
|
|
|
implementation("org.processing:core:${version}")
|
|
}
|
|
|
|
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://git@github.com/processing/processing4.git")
|
|
}
|
|
}
|
|
} |