File tree Expand file tree Collapse file tree 1 file changed +47
-1
lines changed
Expand file tree Collapse file tree 1 file changed +47
-1
lines changed Original file line number Diff line number Diff line change 1+ import com.vanniktech.maven.publish.SonatypeHost
2+
13plugins{
24 java
5+ alias(libs.plugins.mavenPublish)
36}
47
58sourceSets {
@@ -37,4 +40,47 @@ tasks.register<Copy>("createLibrary"){
3740 into(" library" )
3841 rename { " pdf.jar" }
3942 }
40- }
43+ }
44+
45+ publishing{
46+ repositories{
47+ maven {
48+ name = " App"
49+ url = uri(project(" :app" ).layout.buildDirectory.dir(" resources-bundled/common/repository" ).get().asFile.absolutePath)
50+ }
51+ }
52+ }
53+
54+ mavenPublishing{
55+ coordinates(" $group .core" , name, version.toString())
56+ publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL , automaticRelease = true )
57+
58+ signAllPublications()
59+
60+ pom{
61+ name.set(" Processing PDF" )
62+ description.set(" Processing PDF" )
63+ url.set(" https://processing.org" )
64+ licenses {
65+ license {
66+ name.set(" LGPL" )
67+ url.set(" https://www.gnu.org/licenses/lgpl-2.1.html" )
68+ }
69+ }
70+ developers {
71+ developer {
72+ id.set(" steftervelde" )
73+ name.set(" Stef Tervelde" )
74+ }
75+ developer {
76+ id.set(" benfry" )
77+ name.set(" Ben Fry" )
78+ }
79+ }
80+ scm{
81+ url.set(" https://github.com/processing/processing4" )
82+ connection.set(" scm:git:git://github.com/processing/processing4.git" )
83+ developerConnection.set(" scm:git:ssh://git@github.com/processing/processing4.git" )
84+ }
85+ }
86+ }
You can’t perform that action at this time.
0 commit comments