diff options
author | Vitaly Takmazov | 2018-03-15 23:24:13 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-15 23:24:13 +0300 |
commit | ef9bb70fa1fe3744e971837eb78c6c004cd1e989 (patch) | |
tree | cee55dfcdcf9daf29c4835b200e1277a5d90b101 /juick-core | |
parent | 55ec9f370d76a76aa33e290a093995d576e70bdb (diff) |
boot: simplify test configuration
Diffstat (limited to 'juick-core')
-rw-r--r-- | juick-core/build.gradle | 22 |
1 files changed, 1 insertions, 21 deletions
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 -} |