forked from neoforged/NeoForge
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
45 lines (38 loc) · 1.34 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pluginManagement {
repositories {
gradlePluginPortal()
maven { url = 'https://maven.neoforged.net/releases' }
mavenLocal()
}
}
plugins {
id 'net.neoforged.moddev.repositories' version "${moddevgradle_plugin_version}"
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
// This makes the version available to buildSrc
gradle.ext.moddevgradle_plugin_version = moddevgradle_plugin_version
gradle.ext.gson_version = gson_version
gradle.ext.diffpatch_version = diffpatch_version
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
rulesMode = RulesMode.FAIL_ON_PROJECT_RULES
repositories {
mavenCentral()
mavenLocal()
}
}
if (rootProject.name.toLowerCase() == "neoforge") {
// Solve name clashes between projects/neoforge and the rootProject for Eclipse.
rootProject.name = "NeoForge-Root"
}
include ':base'
project(':base').projectDir = file('projects/base')
include ':neoforge'
project(':neoforge').projectDir = file('projects/neoforge')
include ':tests'
project(":tests").projectDir = file("tests")
include ':testframework'
include ':coremods'
// Ensure a unique artifact id within JIJ that does not conflict with net.neoforged:coremods, which is
// another external dependency.
project(":coremods").name = "neoforge-coremods"