Simple gradle build for creating the packgae

This commit is contained in:
R. Tyler Croy 2015-09-04 09:46:32 -07:00
parent 76c119124a
commit 7d8d9c1ff9
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 40 additions and 0 deletions

40
build.gradle Normal file
View File

@ -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