@@ -5,9 +5,7 @@ plugins {
5
5
6
6
subprojects {
7
7
apply plugin : ' java'
8
- apply plugin : ' maven-publish'
9
8
apply plugin : ' idea'
10
- apply plugin : " signing"
11
9
12
10
apply plugin : ' net.ltgt.errorprone'
13
11
apply plugin : ' com.gradleup.shadow'
@@ -129,70 +127,4 @@ subprojects {
129
127
}
130
128
}
131
129
132
- plugins. withId(' maven-publish' ) {
133
- publishing {
134
- publications {
135
- maven(MavenPublication ) {
136
- from components. java
137
-
138
- pom {
139
- name = project. group + ' :' + project. name
140
- url = ' https://github.com/google/tsunami-security-scanner-callback-server'
141
- afterEvaluate {
142
- // description is not available until evaluated.
143
- description = project. description
144
- }
145
-
146
- licenses {
147
- license {
148
- name = ' Apache 2.0'
149
- url = ' https://opensource.org/licenses/Apache-2.0'
150
- }
151
- }
152
-
153
- scm {
154
- connection = ' scm:git:https://github.com/google/tsunami-security-scanner-callback-server.git'
155
- developerConnection
= ' scm:git:[email protected] :google/tsunami-security-scanner-callback-server.git'
156
- url = ' https://github.com/google/tsunami-security-scanner-callback-server'
157
- }
158
-
159
- developers {
160
- developer {
161
- id = ' com.google.tsunami'
162
- name = ' Tsunami Contributors'
163
-
164
- url = ' https://github.com/google/tsunami-security-scanner-callback-server'
165
- organization = ' Tsunami Authors'
166
- organizationUrl = ' https://www.google.com'
167
- }
168
- }
169
- }
170
- }
171
- }
172
- repositories {
173
- maven {
174
- def stagingUrl = ' https://oss.sonatype.org/service/local/staging/deploy/maven2/'
175
- def releaseUrl = stagingUrl
176
- def snapshotUrl = ' https://oss.sonatype.org/content/repositories/snapshots/'
177
- url = version. endsWith(' SNAPSHOT' ) ? snapshotUrl : releaseUrl
178
- credentials {
179
- if (rootProject. hasProperty(' ossrhUsername' )
180
- && rootProject. hasProperty(' ossrhPassword' )) {
181
- username = rootProject. ossrhUsername
182
- password = rootProject. ossrhPassword
183
- }
184
- }
185
- }
186
- mavenLocal()
187
- }
188
- }
189
-
190
- signing {
191
- sign publishing. publications. maven
192
- }
193
-
194
- shadowJar {
195
- archiveClassifier = null
196
- }
197
- }
198
130
}
0 commit comments