Skip to content

Commit e03a09e

Browse files
committed
fix: Extends from compile internal instead
1 parent fa8b854 commit e03a09e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ subprojects {
184184
if (isModModule && projectPlugin is GradlePlugin.ArchLoom) {
185185
configurations["development$loaderProd"].extendsFrom(this)
186186
}
187+
afterEvaluate {
188+
if (isModModule && mcVersion <= 12108 && !projectPlugin.isLoom()) {
189+
configurations.named("additionalRuntimeClasspath").get().extendsFrom(this@creating)
190+
}
191+
}
187192
}
188193

189194
val manifoldCompile: Configuration by configurations.creating {
@@ -198,7 +203,6 @@ subprojects {
198203
afterEvaluate {
199204
if (mcVersion <= 12108) {
200205
configurations.named("additionalRuntimeClasspath").get().extendsFrom(shade)
201-
configurations.named("additionalRuntimeClasspath").get().extendsFrom(shadeInternal)
202206
}
203207
}
204208
}

0 commit comments

Comments
 (0)