File tree Expand file tree Collapse file tree 1 file changed +35
-14
lines changed Expand file tree Collapse file tree 1 file changed +35
-14
lines changed Original file line number Diff line number Diff line change @@ -64,22 +64,43 @@ afterEvaluate {
64
64
groupId = GROUP
65
65
artifactId = POM_ARTIFACT_ID
66
66
version = VERSION_NAME
67
+
68
+ pom {
69
+ name = POM_NAME
70
+ url = POM_URL
71
+ description = POM_DESCRIPTION
72
+ licenses {
73
+ license {
74
+ name = POM_LICENCE_NAME
75
+ url = POM_LICENCE_URL
76
+ }
77
+ }
78
+ developers {
79
+ developer {
80
+ id = POM_DEVELOPER_ID
81
+ name = POM_DEVELOPER_NAME
82
+ }
83
+ }
84
+ scm {
85
+ url = POM_SCM_URL
86
+ }
87
+ }
88
+ }
89
+ }
90
+ repositories {
91
+ maven {
92
+ name = " Sonatype"
93
+ credentials {
94
+ username = System . getenv(' NEXUS_USERNAME' )
95
+ password = System . getenv(' NEXUS_PASSWORD' )
96
+ }
97
+ def releasesRepoUrl = ' https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
98
+ def snapshotsRepoUrl = ' https://s01.oss.sonatype.org/content/repositories/snapshots/'
99
+ url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
100
+ setUrl(url)
67
101
}
68
102
}
69
- repositories {
70
- maven {
71
- name = " Sonatype"
72
- credentials {
73
- username = System . getenv(' NEXUS_USERNAME' )
74
- password = System . getenv(' NEXUS_PASSWORD' )
75
- }
76
- def releasesRepoUrl = ' https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
77
- def snapshotsRepoUrl = ' https://s01.oss.sonatype.org/content/repositories/snapshots/'
78
- url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
79
- setUrl(url)
80
- }
81
103
}
82
- }
83
104
}
84
105
85
106
signing {
@@ -102,7 +123,7 @@ artifacts {
102
123
}
103
124
104
125
ext {
105
- supportVersion = ' 28.0.0'
126
+ supportVersion = ' 28.0.0'
106
127
}
107
128
108
129
dependencies {
You can’t perform that action at this time.
0 commit comments