-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
35 lines (27 loc) · 899 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
35
apply {
plugin 'java'
plugin 'eclipse'
}
defaultTasks 'clean'
def jdkVersion = 1.7
def encoding = 'UTF-8'
sourceCompatibility = jdkVersion
targetCompatibility = jdkVersion
[compileJava,compileTestJava].each{ it.options.encoding = encoding }
compileJava.options.compilerArgs = ['-Xlint:all', '-Xmaxwarns', '9999']
repositories {
mavenCentral()
}
dependencies {
compile 'org.igniterealtime.smack:smack:3.2.1'
runtime 'org.igniterealtime.smack:smackx:3.2.1'
testCompile 'com.googlecode.windowlicker:windowlicker-core:r268'
testCompile 'com.googlecode.windowlicker:windowlicker-swing:r268'
testCompile 'junit:junit-dep:4.10'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile 'org.hamcrest:hamcrest-library:1.3'
}
task "create-init-dirs" << {
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}