This repository has been archived by the owner on Oct 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
65 lines (50 loc) · 1.62 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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
group = 'net.samagames'
version = '2.0.0'
archivesBaseName = 'SurvivalAPI'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
maven { url "http://maven.samagames.net/public/" }
maven { url "http://maven.sk89q.com/repo/" }
maven {
url "http://maven.samagames.net/developpers/"
credentials {
username sguser
password sgpass
}
}
maven {
url "http://maven.samagames.net/network/"
credentials {
username sguser
password sgpass
}
}
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
configurations { providedCompile }
sourceSets.main.compileClasspath += configurations.providedCompile
sourceSets.test.compileClasspath += configurations.providedCompile
sourceSets.test.runtimeClasspath += configurations.providedCompile
dependencies {
compile group: 'net.samagames', name: 'SamaGamesAPI', version: '5.0.0', changing: true
compile(group: 'org.spigotmc', name: 'spigot', version: '1.8.8-R0.1-SNAPSHOT', changing: true) {
transitive = false
}
compile (group: 'com.sk89q.worldedit', name: 'worldedit-bukkit', version: '6.1.1-SNAPSHOT', changing: true) {
exclude module: 'bukkit'
exclude module: 'bukkit-classloader-check'
}
providedCompile group: 'org.rauschig', name: 'jarchivelib', version: '0.7.1'
}
jar {
from { configurations.providedCompile.collect { it.isDirectory() ? it : zipTree(it) } }
include '**'
}