Skip to content

Commit 2f87bdd

Browse files
committed
fix(build): don't purge Yarn repository
1 parent 4005df8 commit 2f87bdd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build-logic/src/main/kotlin/buildlogic.adapter.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ repositories {
1212
maven {
1313
name = "EngineHub Repository"
1414
url = uri("https://maven.enginehub.org/repo/")
15+
content {
16+
excludeModule("net.fabricmc", "yarn")
17+
}
1518
}
1619
maven {
1720
name = "PaperMC"
@@ -22,9 +25,6 @@ repositories {
2225
url = uri("https://maven.fabricmc.net/#yarn-only")
2326
}
2427
mavenCentral()
25-
afterEvaluate {
26-
killNonEngineHubRepositories()
27-
}
2828
}
2929

3030
dependencies {

0 commit comments

Comments
 (0)