https://github.com/neoforged/ModDevGradle ModDevGradle is a alternative to NeoGradle that in my experience is faster and provides a better development experience. MDG also offers an easy 'vanilla' mode, so it has replaced VanillaGradle as well.
52 lines
1.4 KiB
Groovy
52 lines
1.4 KiB
Groovy
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
exclusiveContent {
|
|
forRepository {
|
|
maven {
|
|
name = 'Fabric'
|
|
url = uri('https://maven.fabricmc.net')
|
|
}
|
|
}
|
|
filter {
|
|
includeGroup('net.fabricmc')
|
|
includeGroup('fabric-loom')
|
|
}
|
|
}
|
|
exclusiveContent {
|
|
forRepository {
|
|
maven {
|
|
name = 'NeoForge'
|
|
url = uri('https://maven.neoforged.net/releases')
|
|
}
|
|
}
|
|
filter {
|
|
includeGroupAndSubgroups('net.neoforged')
|
|
}
|
|
}
|
|
exclusiveContent {
|
|
forRepository {
|
|
maven {
|
|
name = 'Sponge Snapshots'
|
|
url = uri('https://repo.spongepowered.org/repository/maven-public')
|
|
}
|
|
}
|
|
filter {
|
|
includeGroupAndSubgroups('org.spongepowered')
|
|
includeGroup('net.minecraftforge')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
|
|
}
|
|
|
|
// This should match the folder name of the project, or else IDEA may complain (see https://youtrack.jetbrains.com/issue/IDEA-317606)
|
|
rootProject.name = 'MultiLoader-Template'
|
|
include('common')
|
|
include('fabric')
|
|
include('neoforge')
|