Skip to content

Commit 62936db

Browse files
committed
Updated to using BuiltIn GitVersion...
1 parent 0c01a60 commit 62936db

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

build.gradle

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ buildscript {
1010
maven {
1111
url = 'https://repo.mattmalec.com/repository/releases'
1212
}
13-
maven {
14-
url = "https://maven.minecraftforge.net/"
15-
}
13+
1614
}
1715

1816
dependencies {
1917
classpath 'gradle.plugin.com.github.johnrengelman:shadow:7.1.2'
20-
classpath 'org.mangorage:MangoBotGradle:5.0.4'
18+
classpath 'org.mangorage:MangoBotGradle:b-5.0.+'
2119
}
2220
}
2321

@@ -40,6 +38,7 @@ tasks.withType(JavaExec) {
4038
}
4139

4240
repositories {
41+
mavenLocal()
4342
mavenCentral()
4443
maven {
4544
url = 'https://maven.minecraftforge.net/'
@@ -59,7 +58,7 @@ dependencies {
5958
testImplementation platform('org.junit:junit-bom:5.9.1')
6059
testImplementation 'org.junit.jupiter:junit-jupiter'
6160

62-
installer('org.mangorage:installer:4.0.3')
61+
installer('org.mangorage:installer:4.0.5')
6362
bot('org.mangorage:mangobot:11.0.23')
6463

6564
plugin('org.mangorage:mangobotplugin:11.1.9')
@@ -93,8 +92,6 @@ tasks.named('processResources', ProcessResources).configure {
9392

9493
MangoBotConfig {
9594
setJarTask(jar)
96-
97-
9895
}
9996

10097
publishing {
@@ -115,6 +112,15 @@ publishing {
115112
name = 'MangoRage'
116113
}
117114
}
115+
withXml {
116+
def dependencies = asNode().appendNode('dependencies')
117+
configurations.library.getDependencies().each {
118+
def dependency = dependencies.appendNode('dependency')
119+
dependency.appendNode('groupId', it.group)
120+
dependency.appendNode('artifactId', it.name)
121+
dependency.appendNode('version', it.version)
122+
}
123+
}
118124
}
119125
}
120126

0 commit comments

Comments
 (0)