-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
51 lines (42 loc) · 1.02 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
apply plugin: 'groovy'
apply plugin: 'java-gradle-plugin'
sourceCompatibility = 1.7
group = 'com.selesse'
version = '0.4.0-SNAPSHOT'
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.6'
}
}
repositories {
mavenCentral()
}
dependencies {
compile gradleApi()
compile localGroovy()
compile 'com.google.guava:guava:18.0'
testCompile 'junit:junit:4.12'
testCompile ('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude module: 'groovy-all'
}
testCompile 'org.assertj:assertj-core:1.7.1'
testCompile 'commons-io:commons-io:2.5'
}
clean {
delete 'repo'
}
task getVersion() {
doLast {
println version
}
}
apply from: rootProject.file("gradle/maven-publish.gradle")
apply from: rootProject.file("gradle/gradle-publish.gradle")