forked from cygni/snakebot-client-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (28 loc) · 772 Bytes
/
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
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
repositories {
mavenLocal()
mavenCentral()
maven {
url "http://mavenrepo.snake.cygni.se"
}
}
apply plugin: 'java'
compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
options.encoding = 'UTF-8'
}
dependencies {
compile group: 'se.cygni.snakebot', name: 'snakebot-client', version: '0.1.18', changing: false
compile group: 'se.cygni.snakebot', name: 'snakebot-client-util', version: '0.1.18', changing: false
}
task run(type:JavaExec) {
main = 'se.cygni.snake.SimpleSnakePlayer'
classpath = sourceSets.main.runtimeClasspath
}
task wrapper(type: Wrapper) {
gradleVersion = '3.1'
}