From ef9bb70fa1fe3744e971837eb78c6c004cd1e989 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 15 Mar 2018 23:24:13 +0300 Subject: boot: simplify test configuration --- juick-core/build.gradle | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'juick-core') diff --git a/juick-core/build.gradle b/juick-core/build.gradle index 913463c2..2df3f402 100644 --- a/juick-core/build.gradle +++ b/juick-core/build.gradle @@ -1,5 +1,3 @@ -apply plugin: 'java' - dependencies { compile "com.fasterxml.jackson.core:jackson-annotations:${rootProject.jacksonVersion}" compile 'org.apache.commons:commons-lang3:3.7' @@ -10,28 +8,10 @@ dependencies { compile 'com.google.code.findbugs:jsr305:3.0.2' + testCompile("org.springframework.boot:spring-boot-starter-test") testCompile "com.fasterxml.jackson.core:jackson-core:${rootProject.jacksonVersion}" testCompile "com.fasterxml.jackson.core:jackson-databind:${rootProject.jacksonVersion}" testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${rootProject.jacksonVersion}" testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${rootProject.jacksonVersion}" - testCompile "junit:junit:${rootProject.junitVersion}" - testCompile "org.hamcrest:hamcrest-all:${rootProject.hamcrestVersion}" testCompile "rocks.xmpp:xmpp-core-client:0.7.5" } - -compileJava.options.encoding = 'UTF-8' - -configurations { - all*.exclude module: 'commons-logging' -} - -configurations { - testArtifacts.extendsFrom testRuntime -} -task testJar(type: Jar) { - classifier "test" - from sourceSets.test.output -} -artifacts { - testArtifacts testJar -} -- cgit v1.2.3