-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
80 lines (69 loc) · 1.84 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
buildscript {
ext.kotlin_version = '1.2.61'
repositories {
mavenCentral()
jcenter()
maven {
name 'forge'
url 'http://files.minecraftforge.net/maven/'
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
plugins {
id 'com.github.johnrengelman.shadow' version '2.0.4'
id 'flavor.pie.promptsign' version '1.1.0'
id 'java'
}
group 'flavor.pie'
version '0.6.2-SNAPSHOT'
apply plugin: 'kotlin'
//apply plugin: 'kotlin-kapt'
apply plugin: 'net.minecraftforge.gradle.forge'
repositories {
mavenCentral()
maven {
url 'https://repo.spongepowered.org/maven/'
}
maven {
url 'https://jitpack.io/'
}
maven {
url 'https://repo.codemc.org/repository/maven-public'
}
}
configurations {
compile.extendsFrom shadow
// compile.extendsFrom kapt
}
dependencies {
shadow "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile 'org.spongepowered:spongeapi:7.1.0'
// kapt 'org.spongepowered:spongeapi:7.0.0'
shadow 'com.github.pie-flavor:Kludge:caa38e9'
shadow 'com.github.pie-flavor:MoreArguments:d85d7c7'
shadow 'org.bstats:bstats-sponge-lite:1.4'
}
jar.enabled = false
build.dependsOn shadowJar
signArchives.dependsOn shadowJar
reobfJar.dependsOn shadowJar
shadowJar {
classifier = null
configurations = [project.configurations.shadow]
relocate('kotlin', 'flavor.pie.pieconomy.runtime.kotlin')
relocate('flavor.pie.kludge', 'flavor.pie.pieconomy.util.kludge')
relocate('flavor.pie.util.arguments', 'flavor.pie.pieconomy.util.arguments')
}
compileKotlin {
kotlinOptions {
jvmTarget = '1.8'
}
}
minecraft {
forgeVersion = '2705'
mappings = 'stable_39'
}