forked from AnDwHaT5-Sidemods/AGP-Responged
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle--
81 lines (66 loc) · 1.63 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
buildscript {
repositories {
maven {
name = 'forge'
url = 'http://files.minecraftforge.net/maven'
}
maven {
name = 'sponge'
url = 'https://repo.spongepowered.org/maven'
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
plugins {
id 'java'
id 'org.spongepowered.plugin' version '0.8.1'
id 'com.github.johnrengelman.shadow' version '2.0.4'
}
apply plugin: 'net.minecraftforge.gradle.forge'
group = "moe.clienthax"
version = "1.0.0"
compileJava {
sourceCompatibility = targetCompatibility = "1.8"
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
jcenter()
maven {
name = "Sponge"
url = "http://repo.spongepowered.org/maven"
}
maven {
name = "Forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
url 'https://jitpack.io'
}
}
dependencies {
dependencies {
compile "com.github.SimonFlash.TeslaPowered:TeslaLibs:v1.1.4"
}
compile group: 'com.zaxxer', name: 'HikariCP', version: '2.5.1'
compileOnly files('libs/Pixelmon-1.12.2-6.2.1-universal-deobf.jar')
}
shadowJar {
dependencies {
include dependency("com.github.SimonFlash.TeslaPowered:TeslaLibs:v1.1.4")
}
relocate 'com.mcsimonflash.sponge.teslalibs', 'moe.clienthax.anothergympluginsponge.tesla'
}
reobf {
shadowJar { mappingType = 'SEARGE' }
}
minecraft {
version = "2705"
mappings = "snapshot_20171111"
makeObfSourceJar = false
}
sponge.plugin.id = "anothergympluginsponge"