forked from LionZXY/FastLogBlock
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
55 lines (45 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
54
55
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
jcenter()
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
}
}
repositories {
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'net.minecraftforge.gradle'
version = "1.0.3"
group = "club.moddedminecraft.fastlogblockserver"
archivesBaseName = "FastLogBlockServer"
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
minecraft {
mappings channel: 'snapshot', version: '20171003-1.12'
}
configurations {
embed
compile.extendsFrom(embed)
}
dependencies {
minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2854'
embed "jline:jline:2.14.6"
embed "trove:trove:1.0.2"
testCompile 'junit:junit:4.12'
testCompile "org.mapdb:thread-weaver:3.0.mapdb"
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
}
jar {
from configurations.embed.collect { it.isDirectory() ? it : zipTree(it) }
}