Skip to content

Commit

Permalink
chore: fix configurations
Browse files Browse the repository at this point in the history
Needed for new refined architect
  • Loading branch information
raoulvdberge committed Sep 10, 2024
1 parent 20822da commit 93b5177
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion refinedarchitect-template-fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
refinedarchitect {
modId = "refinedarchitecttemplate"
fabric()
compileWithProject(project(":refinedarchitect-template-common"))
publishing {
// maven = true
// curseForge = "123"
Expand All @@ -16,3 +15,12 @@ refinedarchitect {
base {
archivesName.set("refinedarchitect-template-fabric")
}

val commonJava by configurations.existing
val commonResources by configurations.existing

dependencies {
compileOnly(project(":refinedarchitect-template-common"))
commonJava(project(path = ":refinedarchitect-template-common", configuration = "commonJava"))
commonResources(project(path = ":refinedarchitect-template-common", configuration = "commonResources"))
}
10 changes: 9 additions & 1 deletion refinedarchitect-template-neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
refinedarchitect {
modId = "refinedarchitecttemplate"
neoForge()
compileWithProject(project(":refinedarchitect-template-common"))
publishing {
// maven = true
// curseForge = "123"
Expand All @@ -16,3 +15,12 @@ refinedarchitect {
base {
archivesName.set("refinedarchitect-template-neoforge")
}

val commonJava by configurations.existing
val commonResources by configurations.existing

dependencies {
compileOnly(project(":refinedarchitect-template-common"))
commonJava(project(path = ":refinedarchitect-template-common", configuration = "commonJava"))
commonResources(project(path = ":refinedarchitect-template-common", configuration = "commonResources"))
}

0 comments on commit 93b5177

Please sign in to comment.