Simple gradle build for creating the packgae
This commit is contained in:
parent
76c119124a
commit
7d8d9c1ff9
|
@ -0,0 +1,40 @@
|
||||||
|
apply plugin: 'groovy'
|
||||||
|
apply plugin: 'idea'
|
||||||
|
apply plugin: 'java'
|
||||||
|
apply plugin: 'maven'
|
||||||
|
|
||||||
|
version '0.1.0'
|
||||||
|
group 'com.github.reiseburo'
|
||||||
|
description 'A reactive wrapper around Apache Curator'
|
||||||
|
defaultTasks 'check', 'assemble'
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
['framework', 'recipes'].each {
|
||||||
|
compile "org.apache.curator:curator-${it}:[2.7.1,2.8)"
|
||||||
|
}
|
||||||
|
compile 'io.reactivex:rxjava:[1.0.14,2.0)'
|
||||||
|
|
||||||
|
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
|
||||||
|
testCompile 'cglib:cglib-nodep:3.1'
|
||||||
|
}
|
||||||
|
|
||||||
|
idea {
|
||||||
|
module {
|
||||||
|
downloadJavadoc = true
|
||||||
|
downloadSources = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
test {
|
||||||
|
testLogging {
|
||||||
|
exceptionFormat = 'full'
|
||||||
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
assemble.dependsOn check
|
||||||
|
install.dependsOn assemble
|
Loading…
Reference in New Issue