Skip to content

Commit 0455f62

Browse files
author
Meeuyt
committed
fix: configure ForgeGradle 5.2.5 via buildscript block
- Add buildscript block to forge/build.gradle with Forge maven repo - Remove net.minecraftforge.gradle from settings.gradle pluginManagement - ForgeGradle 5.2.5 uses legacy buildscript resolution, not pluginManagement
1 parent 0e9589b commit 0455f62

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

‎forge/build.gradle‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
buildscript {
2+
repositories {
3+
maven {
4+
name = "Forge"
5+
url = uri("https://maven.minecraftforge.net")
6+
}
7+
gradlePluginPortal()
8+
mavenCentral()
9+
}
10+
dependencies {
11+
classpath "net.minecraftforge.gradle:ForgeGradle:5.2.5"
12+
}
13+
}
14+
115
plugins {
216
id 'multiloader-loader'
317
id 'net.minecraftforge.gradle' version '5.2.5'

‎settings.gradle‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ pluginManagement {
3232
}
3333
plugins {
3434
id "org.jetbrains.kotlin.kapt" version '2.2.0'
35-
id "net.minecraftforge.gradle" version "6.0.24"
3635
}
3736
}
3837

0 commit comments

Comments
 (0)