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 2ae117f commit 67b33db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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"
api "fuzs.forgeconfigapiport:forgeconfigapiport-common-neoforgeapi:${fcap_version}"
compileOnly "fuzs.forgeconfigapiport:forgeconfigapiport-common-neoforgeapi:${fcap_version}"
}
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}"
compileOnly project(":common")
modApi "fuzs.forgeconfigapiport:forgeconfigapiport-fabric:${fcap_version}"
modCompileOnly "fuzs.forgeconfigapiport:forgeconfigapiport-fabric:${fcap_version}"
}

loom {
Expand Down
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")
api(fg.deobf("fuzs.forgeconfigapiport:forgeconfigapiport-forge:${fcap_version}"))
compileOnly(fg.deobf("fuzs.forgeconfigapiport:forgeconfigapiport-forge:${fcap_version}"))
}

tasks.withType(JavaCompile).configureEach {
Expand Down

0 comments on commit 67b33db

Please sign in to comment.