generated from IdeallandEarthDept/IdeallandFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
51 lines (47 loc) · 1.7 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
46
47
48
49
50
51
//Based on tde
pluginManagement {
repositories {
if (use_mirror.toBoolean() || gradle.startParameter.taskNames[0] == "MirrorSetup") {
removeIf {
it instanceof MavenArtifactRepository &&
(it.url.toString() == "https://repo.maven.apache.org/maven2/")
}
maven {
name 'Ali Mirror Maven'
url "https://maven.aliyun.com/nexus/content/groups/public"
allowInsecureProtocol = true
}
maven {
name 'MC Mirror Maven'
url "https://${mirror_maven_url}"
allowInsecureProtocol = true
}
//more mirror maven add here,in order to search plugins
}
maven {
// RetroFuturaGradle
name 'GTNH Maven'
url 'https://nexus.gtnewhorizons.com/repository/public/'
allowInsecureProtocol = true
mavenContent {
includeGroup 'com.gtnewhorizons'
includeGroup 'com.gtnewhorizons.retrofuturagradle'
}
}
gradlePluginPortal()
mavenLocal()
mavenCentral()
}
}
plugins {
// Automatic toolchain provisioning
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0'
}
// Due to an IntelliJ bug, this has to be done
// rootProject.name = archives_base_name
rootProject.name = rootProject.projectDir.getName()
println """
Java Version: ${System.getProperty 'java.version'} ${System.getProperty 'os.arch'} VM ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'})
JAVA_HOME:${System.getenv 'JAVA_HOME'}
Java Path: ${System.getProperty 'java.home'}
"""