change unported deps to compileonly so its fine in runtime

This commit is contained in:
Flemmli97 2021-12-19 21:02:39 +01:00
parent caae5fd06f
commit 40350ca1c3
2 changed files with 7 additions and 5 deletions

View File

@ -56,14 +56,16 @@ dependencies {
modCompileOnly("io.github.gunpowder:gunpowder-api:${rootProject.gunpowder_version}") { //Might need changes later modCompileOnly("io.github.gunpowder:gunpowder-api:${rootProject.gunpowder_version}") { //Might need changes later
exclude group: "com.google.guava", module:"failureaccess" exclude group: "com.google.guava", module:"failureaccess"
} }
modRuntime("io.github.gunpowder:gunpowder-base:${rootProject.gunpowder_version}") { /*modRuntime("io.github.gunpowder:gunpowder-base:${rootProject.gunpowder_version}") {
exclude group: "com.google.guava", module:"failureaccess" exclude group: "com.google.guava", module:"failureaccess"
} }
modRuntime("io.github.gunpowder:gunpowder-currency:${rootProject.gunpowder_currency_version}") modRuntime("io.github.gunpowder:gunpowder-currency:${rootProject.gunpowder_currency_version}")
*/
//modImplementation "io.github.ladysnake:PlayerAbilityLib:${rootProject.player_ability_lib}"
modCompileOnly "io.github.ladysnake:PlayerAbilityLib:${rootProject.player_ability_lib}"
modImplementation "io.github.ladysnake:PlayerAbilityLib:${rootProject.player_ability_lib}" //modImplementation("dev.ftb.mods:ftb-ranks-fabric:${rootProject.ftb_ranks}")
modCompileOnly("dev.ftb.mods:ftb-ranks-fabric:${rootProject.ftb_ranks}")
modImplementation("dev.ftb.mods:ftb-ranks-fabric:${rootProject.ftb_ranks}")
} }
processResources { processResources {

View File

@ -39,7 +39,7 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false } common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false } shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false }
modImplementation("dev.ftb.mods:ftb-ranks-forge:${ftb_ranks}") modCompileOnly("dev.ftb.mods:ftb-ranks-forge:${ftb_ranks}")
modImplementation(dicemcmm) modImplementation(dicemcmm)
} }