aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: 2a452ea9c8e00dbdbf9a861d9f045b0d48576c26 (plain)
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"