-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (43 loc) · 1.06 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
buildscript {
repositories {
maven {
name = 'forge'
url = 'https://files.minecraftforge.net/maven'
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
plugins {
id 'java'
id 'java-library'
id 'idea'
id 'org.spongepowered.plugin' version '0.9.0'
}
apply plugin: 'net.minecraftforge.gradle.forge'
group 'io.github.aquerr'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
compileOnly "org.spongepowered:spongeapi:7.3.0"
annotationProcessor 'org.spongepowered:spongeapi:7.3.0'
compileOnly "com.github.Aquerr:EagleFactionsAPI:-SNAPSHOT"
}
jar {
if(System.getenv("JENKINS_HOME")) {
version = version + "_" + System.getenv("BUILD_NUMBER")
println("File name => " + baseName)
} else {
version = version + "-SNAPSHOT"
}
}
minecraft {
forgeVersion = '1.12.2-14.23.5.2838'
mappings = 'stable_39'
}