Skip to content

Commit

Permalink
Minor changes to gradle dependency handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal-Spider committed May 6, 2024
1 parent 9d1cff2 commit 209f4f4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ subprojects { subproject ->

apply plugin: "java"
apply plugin: "idea"
apply plugin: "java-library"
apply plugin: "com.modrinth.minotaur"
apply plugin: "me.hypherionmc.cursegradle"
apply plugin: "com.github.breadmoirai.github-release"
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ minecraft {

dependencies {
compileOnly group: "org.spongepowered", name: "mixin", version: "0.8.5"
compileOnly "fuzs.forgeconfigapiport:forgeconfigapiport-common-neoforgeapi:${fcap_version}"
api "fuzs.forgeconfigapiport:forgeconfigapiport-common-neoforgeapi:${fcap_version}"
}
2 changes: 1 addition & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dependencies {
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
annotationProcessor("org.spongepowered:mixin:0.8.5-SNAPSHOT:processor")
compileOnly project(":common")
compileOnly(fg.deobf("fuzs.forgeconfigapiport:forgeconfigapiport-forge:${fcap_version}"))
api(fg.deobf("fuzs.forgeconfigapiport:forgeconfigapiport-forge:${fcap_version}"))
}

tasks.withType(JavaCompile).configureEach {
Expand Down
1 change: 0 additions & 1 deletion neoforge/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
id "java-library"
id "net.neoforged.gradle.userdev" version "7.0.84"
}

Expand Down

0 comments on commit 209f4f4

Please sign in to comment.