forked from EATSTEAK/CHProtocolSupport
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (27 loc) · 784 Bytes
/
build.gradle
File metadata and controls
33 lines (27 loc) · 784 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
plugins {
id 'java'
id 'de.undercouch.download' version '3.4.3'
}
group 'tk.itstake'
version '1.0'
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
maven { url = 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven { url 'http://maven.sk89q.com/repo' }
}
dependencies {
compile 'org.spigotmc:spigot-api:1.14.4-R0.1-SNAPSHOT'
compile'com.sk89q:commandhelper:3.3.4-SNAPSHOT'
compile fileTree(dir: 'libs', include: '*.jar')
}
task downloadLibs(type: Download) {
mkdir 'libs'
src([
'https://build.true-games.org/job/ProtocolSupport/lastSuccessfulBuild/artifact/target/ProtocolSupport.jar'
])
dest 'libs'
onlyIfModified true
}
compileJava.dependsOn downloadLibs