Skip to content

Commit 02f6576

Browse files
committed
Updated to new system
1 parent c5c5abf commit 02f6576

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import org.mangorage.mangobotgradle.util.GitVersion
22

33
buildscript {
44
repositories {
5-
mavenLocal()
65
mavenCentral()
76
maven {
87
url = uri("https://plugins.gradle.org/m2/")
@@ -17,7 +16,7 @@ buildscript {
1716

1817
dependencies {
1918
classpath 'gradle.plugin.com.github.johnrengelman:shadow:7.1.2'
20-
classpath 'org.mangorage:MangoBotGradle:5.0.4'
19+
classpath 'org.mangorage:MangoBotGradle:5.0.6'
2120
}
2221
}
2322

@@ -110,6 +109,15 @@ publishing {
110109
name = 'MangoRage'
111110
}
112111
}
112+
withXml {
113+
def dependencies = asNode().appendNode('dependencies')
114+
configurations.library.getDependencies().each {
115+
def dependency = dependencies.appendNode('dependency')
116+
dependency.appendNode('groupId', it.group)
117+
dependency.appendNode('artifactId', it.name)
118+
dependency.appendNode('version', it.version)
119+
}
120+
}
113121
}
114122
}
115123

0 commit comments

Comments
 (0)