Skip to content

Commit

Permalink
AGAIN! [build]
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Aug 7, 2024
1 parent 48da3c6 commit 99ad0c4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ runs {
// Include resources generated by data generators.
sourceSets.main.resources { srcDir 'src/generated/resources' }

// Sets up a dependency configuration called 'localRuntime'.
// This configuration should be used instead of 'runtimeOnly' to declare
// a dependency that will be present for runtime testing but that is
// "optional", meaning it will not be pulled by dependents of this mod.
configurations {
runtimeClasspath.extendsFrom localRuntime
}

repositories {
maven {
url = "https://maven.blamejared.com"
Expand Down Expand Up @@ -85,7 +93,7 @@ dependencies {
compileOnly "mezz.jei:jei-${mc_version}-common-api:${jei_version}"
compileOnly "mezz.jei:jei-${mc_version}-neoforge-api:${jei_version}"

runtimeOnly "mezz.jei:jei-${mc_version}-neoforge:${jei_version}"
localRuntime "mezz.jei:jei-${mc_version}-neoforge:${jei_version}"

compileOnly "me.shedaniel.cloth:cloth-config-neoforge:${cloth_config_version}"
compileOnly "dev.architectury:architectury-neoforge:${architectury_version}"
Expand Down

0 comments on commit 99ad0c4

Please sign in to comment.