-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (44 loc) · 956 Bytes
/
build.gradle
File metadata and controls
52 lines (44 loc) · 956 Bytes
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
buildscript {
repositories {
jcenter()
maven {
name 'forge'
url 'http://files.minecraftforge.net/maven'
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.tweaker-client'
group 'me.dags'
version '0.1-SNAPSHOT'
targetCompatibility = sourceCompatibility = "1.8"
minecraft {
version = "1.12.1"
mappings = "snapshot_20170624"
runDir = 'run'
tweakClass = 'me.dags.daflight.launch.DaFlightTweaker'
}
configurations {
shade
compile.extendsFrom(shade)
}
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
shade ('com.github.dags-:cfg-ui:0.3-SNAPSHOT') {
transitive = false
}
}
def shadeDependencies = {
configurations.shade.collect{
it.directory ? it : zipTree(it)
}.each {
from it
}
}
jar {
with shadeDependencies
}