Skip to content

Commit 76b0182

Browse files
committed
Try without pom modifications
1 parent c2cdfdd commit 76b0182

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

build.gradle

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -191,25 +191,6 @@ publishing {
191191
from components.java
192192
artifact javadocJar
193193
artifact sourcesJar
194-
195-
pom.withXml {
196-
def reposNode = asNode().appendNode('repositories')
197-
def repoNode = reposNode.appendNode('repository')
198-
199-
repoNode.appendNode('name', 'codemc')
200-
repoNode.appendNode('id', 'codemc-andre601')
201-
repoNode.appendNode('url', 'https://repo.codemc.io/repository/maven-public/')
202-
203-
def dependenciesNode = asNode().appendNode('dependencies')
204-
configurations.compile.allDependencies.each {
205-
def dependencyNode = dependenciesNode.appendNode('dependency')
206-
207-
dependencyNode.appendNode('groupId', it.group)
208-
dependencyNode.appendNode('artifactId', it instanceof ProjectDependency ? it.dependencyProject.artifactId : it.name)
209-
dependencyNode.appendNode('version', it.version)
210-
dependencyNode.appendNode('scope', 'compile')
211-
}
212-
}
213194
}
214195
}
215196
repositories {

0 commit comments

Comments
 (0)