Skip to content

Commit

Permalink
used compileOnly for deps on common projects in forge and fabric proj…
Browse files Browse the repository at this point in the history
…ects
  • Loading branch information
Trinsdar committed Dec 14, 2024
1 parent 1ca6b13 commit e5e8d91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ dependencies{
modImplementation "net.fabricmc:fabric-loader:${project.fabric_loader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
modCompileOnly("dev.latvian.mods:kubejs-fabric:${project.kubejs_version}")
implementation(project(path: ":tesseract-common")) { transitive false }
implementation(project(path: ":tesseract-fabric")) { transitive false }
compileOnly(project(":tesseract-common"))
compileOnly(project(":antimatter-common"))
implementation(project(":tesseract-fabric"))
afterEvaluate {
include(project(path: ":tesseract-fabric"))
}
Expand Down
4 changes: 2 additions & 2 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ mixin {

dependencies {
implementation(expectPlatform.annotationsDep)
implementation(project(path: ":tesseract-forge"))
implementation(project(path: ":tesseract-common"))
implementation(project(":tesseract-forge"))
compileOnly(project(":tesseract-common"))
compileOnly(project(":antimatter-common"))
jarJar("org.gt-reimagined:tesseract-forge:0.2.4-1.18.2")

Expand Down

0 comments on commit e5e8d91

Please sign in to comment.