generated from makamys/forge-mod-template
-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
35 lines (31 loc) · 934 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
33
34
35
/** The root of the build. Exposed for flexibility, but you shouldn't edit it
unless you have to. Edit project.gradle instead. */
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "https://maven.minecraftforge.net/"
}
maven {
url = "https://jitpack.io"
}
}
dependencies {
classpath('com.github.GTNewHorizons:ForgeGradle:1.2.11') {
// This transitive dependency breaks plugins for some reason. Only GTNH-FG has this issue.
exclude group: "org.eclipse.equinox"
}
}
}
plugins {
id 'io.freefair.lombok' version '5.3.0' apply false // appears to be the newest version supporting Gradle 6
}
if(project.enable_lombok.toBoolean()) {
apply plugin: 'io.freefair.lombok'
lombok {
// the version of the lombok plugin we use would use 1.18.16 by default
version = '1.18.30'
}
}
apply from: "buildscript/forge-1.7.gradle"