Cleanup maven pom, hopefully I havent broken anything.

This commit is contained in:
modmuss50 2019-12-16 18:56:19 +00:00
parent 9b496c0a1a
commit 86fdbae7b2

View file

@ -63,33 +63,35 @@ group = 'TechReborn'
dependencies { dependencies {
minecraft "com.mojang:minecraft:1.15" minecraft "com.mojang:minecraft:1.15"
mappings "net.fabricmc:yarn:1.15+build.2:v2" mappings "net.fabricmc:yarn:1.15+build.2:v2"
modCompile "net.fabricmc:fabric-loader:0.7.2+build.174" modImplementation "net.fabricmc:fabric-loader:0.7.2+build.174"
//Fabric api //Fabric api
modCompile "net.fabricmc.fabric-api:fabric-api:0.4.24+build.279-1.15" modImplementation "net.fabricmc.fabric-api:fabric-api:0.4.24+build.279-1.15"
modCompile ("me.shedaniel:RoughlyEnoughItems:3.2.25") optionalDependency ("me.shedaniel:RoughlyEnoughItems:3.2.25")
modCompile ('io.github.cottonmc:LibCD:2.0.1+1.15') { optionalDependency ('io.github.cottonmc:LibCD:2.0.1+1.15')
transitive = false
}
modCompile ("io.github.cottonmc:Jankson-Fabric:2.0.0+j1.2.0") {
transitive = false
}
def rcVersion = 'RebornCore:RebornCore-1.15:+' def rcVersion = 'RebornCore:RebornCore-1.15:+'
modApi (rcVersion) {
modCompile (rcVersion) { exclude group: "net.fabricmc"
transitive = false
} }
include rcVersion include rcVersion
compileOnly "com.google.code.findbugs:jsr305:3.0.2" compileOnly "com.google.code.findbugs:jsr305:3.0.2"
modCompileOnly ('curse.maven:towelette:2842017') { modCompileOnly ('curse.maven:towelette:2842017') {
transitive = false transitive = false
} }
}
compile 'teamreborn:energy:0.0.8' def optionalDependency(String dep) {
dependencies.modRuntime (dep) {
exclude group: "net.fabricmc"
exclude module: "nbt-crafting"
}
dependencies.modCompileOnly (dep) {
exclude group: "net.fabricmc"
exclude module: "nbt-crafting"
}
} }
processResources { processResources {