Skip to content

Commit 8b478d0

Browse files
tooryxcopybara-github
authored andcommitted
Remove gradle directives used to distribute maven releases. We are not releasing through Maven anymore.
PiperOrigin-RevId: 796302543 Change-Id: I9b92fe6915f96c492341d14e2fd99936decdadcf
1 parent 28301f2 commit 8b478d0

File tree

1 file changed

+0
-68
lines changed

1 file changed

+0
-68
lines changed

build.gradle

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ plugins {
55

66
subprojects {
77
apply plugin: 'java'
8-
apply plugin: 'maven-publish'
98
apply plugin: 'idea'
10-
apply plugin: "signing"
119

1210
apply plugin: 'net.ltgt.errorprone'
1311
apply plugin: 'com.gradleup.shadow'
@@ -129,70 +127,4 @@ subprojects {
129127
}
130128
}
131129

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-
}
198130
}

0 commit comments

Comments
 (0)