-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
32 lines (26 loc) · 967 Bytes
/
build.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
buildscript {
repositories {
mavenCentral()
maven { url = 'https://maven.minecraftforge.net' }
maven { url = 'https://repo.spongepowered.org/maven' }
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath 'org.spongepowered:mixingradle:0.7.+'
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
apply from: 'gradle/a.gradle'
repositories {
maven { url "https://dvs1.progwml6.com/files/maven/" }
}
dependencies {
compileOnly fg.deobf("mezz.jei:jei-${minecraft_version}-common-api:${jei_version}")
compileOnly fg.deobf("mezz.jei:jei-${minecraft_version}-forge-api:${jei_version}")
if (System.getenv('CI') == null) {
runtimeOnly fg.deobf("mezz.jei:jei-${minecraft_version}-forge:${jei_version}")
}
}
apply from: 'gradle/b.gradle'