Skip to content

Commit ff4f3a7

Browse files
committed
Prevented generating gradle module as I can't remove dependency information from it
1 parent 87ba6de commit ff4f3a7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,14 @@ publishing {
157157
developerConnection = 'scm:git:ssh://github.com/jtljac/datmoddingapi.git'
158158
url = 'https://datdeveloper.com/datmoddingapi/'
159159
}
160+
161+
withXml {
162+
asNode().dependencies.dependency.each { dep ->
163+
if(dep.artifactId.last().value().last() == "forge") {
164+
assert dep.parent().remove(dep)
165+
}
166+
}
167+
}
160168
}
161169
}
162170
}
@@ -179,3 +187,7 @@ jar.finalizedBy('reobfJar')
179187
tasks.withType(JavaCompile).configureEach {
180188
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
181189
}
190+
191+
tasks.withType(GenerateModuleMetadata) {
192+
enabled = false
193+
}

0 commit comments

Comments
 (0)