aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-12-06 21:19:47 +0700
committerGravatar Vitaly Takmazov2016-12-07 22:37:16 +0300
commit49f904b450ec693e3e968072480dab13be7abcf8 (patch)
tree43d3063b572aac4babfed5528c9d21696fbeb870 /build.gradle
parent3fc85c266cb30af2898b0d9ba99c2a8577237a41 (diff)
common configuration for tests
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
1 files changed, 7 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index a32de4f1..c076bfd7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,6 +11,8 @@ project.ext {
jacksonVersion = '2.8.5'
slf4jVersion = '1.7.21'
logbackVersion = '1.1.7'
+ junitVersion = "4.12"
+ hamcrestVersion= "1.3"
}
buildscript {
@@ -32,14 +34,15 @@ dependencies {
testCompile project(':juick-core')
testCompile project(':juick-www')
testCompile project(':juick-xmpp')
- testCompile 'org.json:json:20160810'
+ testCompile "org.json:json:20160810"
testCompile "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
testCompile "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
testCompile "org.springframework:spring-jdbc:${springFrameworkVersion}"
- testCompile 'ch.vorburger.mariaDB4j:mariaDB4j:2.2.2'
+ testCompile "ch.vorburger.mariaDB4j:mariaDB4j:2.2.2"
testCompile "org.slf4j:slf4j-api:${slf4jVersion}"
- testCompile 'junit:junit:4.12'
- testRuntime 'mysql:mysql-connector-java:5.1.40'
+ testCompile "junit:junit:${junitVersion}"
+ testCompile "org.hamcrest:hamcrest-all:${hamcrestVersion}"
+ testRuntime "mysql:mysql-connector-java:5.1.40"
}
compileJava.options.encoding = 'UTF-8'