From 49f904b450ec693e3e968072480dab13be7abcf8 Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Tue, 6 Dec 2016 21:19:47 +0700 Subject: common configuration for tests --- build.gradle | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'build.gradle') 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' -- cgit v1.2.3