File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import com.vanniktech.maven.publish.SonatypeHost
2+
13plugins {
24 id(" java" )
3- id(" maven- publish" )
5+ id(" com.vanniktech. maven. publish" ) version " 0.29.0 "
46}
57
68group = " org.processing.core"
@@ -24,22 +26,46 @@ sourceSets{
2426}
2527
2628dependencies {
29+ // TODO: Research on which jogl dependencies to include
2730 implementation(" org.jogamp.gluegen:gluegen-rt:2.5.0" )
2831 implementation(" org.jogamp.jogl:jogl-all:2.5.0" )
2932
3033 testImplementation(" junit:junit:4.13.2" )
3134}
3235
33- publishing {
34- publications {
35- create<MavenPublication >(" maven" ) {
36- groupId = " org.processing"
37- artifactId = " core"
38- from(components[" java" ])
36+ mavenPublishing{
37+ signAllPublications()
38+ publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL )
39+
40+ pom{
41+ name.set(" Processing Core" )
42+ description.set(" Processing Core" )
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-carbon-aug-19" )
62+ connection.set(" scm:git:git://github.com/processing/processing4-carbon-aug-19.git" )
63+ developerConnection.set(" scm:git:ssh://git@github.com/processing/processing4-carbon-aug-19.git" )
3964 }
4065 }
4166}
4267
68+
4369tasks.test {
4470 useJUnit()
4571}
You can’t perform that action at this time.
0 commit comments