File tree Expand file tree Collapse file tree 1 file changed +33
-7
lines changed Expand file tree Collapse file tree 1 file changed +33
-7
lines changed Original file line number Diff line number Diff line change
1
+ import com.vanniktech.maven.publish.SonatypeHost
2
+
1
3
plugins {
2
4
id(" java" )
3
- id(" maven- publish" )
5
+ id(" com.vanniktech. maven. publish" ) version " 0.29.0 "
4
6
}
5
7
6
8
group = " org.processing.core"
@@ -24,22 +26,46 @@ sourceSets{
24
26
}
25
27
26
28
dependencies {
29
+ // TODO: Research on which jogl dependencies to include
27
30
implementation(" org.jogamp.gluegen:gluegen-rt:2.5.0" )
28
31
implementation(" org.jogamp.jogl:jogl-all:2.5.0" )
29
32
30
33
testImplementation(" junit:junit:4.13.2" )
31
34
}
32
35
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" )
39
64
}
40
65
}
41
66
}
42
67
68
+
43
69
tasks.test {
44
70
useJUnit()
45
71
}
You can’t perform that action at this time.
0 commit comments