-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (50 loc) · 1.08 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'com.github.johnrengelman.shadow'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.0'
}
}
sourceSets {
main {
resources{
srcDir 'resources'
}
}
}
repositories {
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.+'
compile 'com.google.guava:guava:17.0'
compile('net.magik6k.jwwf:jwwf:0.2.+') {
exclude group: 'com.google.guava'
}
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.typesafe:config:0.4.0'
compile('net.minecraftforge:forge:1.7.10-10.13.2.1235:installer') {
exclude group: 'com.google.guava'
}
}
compileJava {
options.fork = true
sourceCompatibility = "1.7"
targetCompatibility = "1.7"
}
javadoc {
include 'net/magik6k/jwwf/**'
}
task javadocJar(type: Jar, dependsOn: javadoc) {
from 'build/docs/javadoc'
classifier 'javadoc'
}