-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (52 loc) · 1.27 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
group 'com.atherys'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
sourceSets {
main {
resources {
exclude "java/**"
exclude "kotlin/**"
}
}
}
repositories {
mavenCentral()
maven {
name = 'sponge'
url = 'https://repo.spongepowered.org/maven'
}
maven {
name = 'jitpack'
url = 'https://jitpack.io'
}
}
dependencies {
shadow 'org.spongepowered:spongeapi:7.0.0-SNAPSHOT'
shadow 'com.github.Atherys-Horizons:AtherysCore:1.15.0'
shadow 'com.github.Atherys-Horizons:AtherysScript:1.0.7'
}
javadoc {
source = sourceSets.main.allJava
classpath += configurations.shadow
title = "TownsExtension"
options.links(
'http://www.slf4j.org/apidocs/',
'https://docs.oracle.com/javase/8/docs/api/',
'https://flow.github.io/math/',
'http://jd.spongepowered.org/7.1.0/'
)
options.addStringOption('Xdoclint:none', '-quiet')
}