Skip to content

Commit 78ee7a0

Browse files
committed
publish dxf library
1 parent 735bfa6 commit 78ee7a0

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ plugins {
33

44
alias(libs.plugins.compose.compiler) apply false
55
alias(libs.plugins.jetbrainsCompose) apply false
6+
alias(libs.plugins.mavenPublish) apply false
67

78
alias(libs.plugins.versions)
89
}

java/libraries/dxf/build.gradle.kts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins{
22
id("org.processing.library")
3+
alias(libs.plugins.mavenPublish)
34
}
45

56
processing {
@@ -31,6 +32,40 @@ dependencies{
3132
implementation("com.lowagie:itext:2.1.7")
3233
}
3334

35+
36+
mavenPublishing {
37+
publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
38+
signAllPublications()
39+
40+
pom {
41+
name.set("Processing DXF")
42+
description.set("Processing DFX")
43+
url.set("https://processing.org")
44+
licenses {
45+
license {
46+
name.set("LGPL")
47+
url.set("https://www.gnu.org/licenses/lgpl-2.1.html")
48+
}
49+
}
50+
developers {
51+
developer {
52+
id.set("steftervelde")
53+
name.set("Stef Tervelde")
54+
}
55+
developer {
56+
id.set("benfry")
57+
name.set("Ben Fry")
58+
}
59+
}
60+
scm {
61+
url.set("https://github.com/processing/processing4")
62+
connection.set("scm:git:git://github.com/processing/processing4.git")
63+
developerConnection.set("scm:git:ssh://[email protected]/processing/processing4.git")
64+
}
65+
}
66+
}
67+
68+
3469
/**
3570
* @deprecated Legacy task, use 'bundleLibrary' task provided by 'org.processing.library' plugin
3671
*/

0 commit comments

Comments
 (0)