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-server-jdbc/build.gradle | |
parent | 55ec9f370d76a76aa33e290a093995d576e70bdb (diff) |
boot: simplify test configuration
Diffstat (limited to 'juick-server-jdbc/build.gradle')
-rw-r--r-- | juick-server-jdbc/build.gradle | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/juick-server-jdbc/build.gradle b/juick-server-jdbc/build.gradle index f17398b6..84b14c93 100644 --- a/juick-server-jdbc/build.gradle +++ b/juick-server-jdbc/build.gradle @@ -12,15 +12,6 @@ dependencies { compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${rootProject.jacksonVersion}" compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${rootProject.jacksonVersion}" - compile "ch.qos.logback:logback-classic:${rootProject.logbackVersion}" - compile "ch.qos.logback:logback-core:${rootProject.logbackVersion}" - compile "ch.qos.logback:logback-access:${rootProject.logbackVersion}" - - compile "org.slf4j:slf4j-api:${rootProject.slf4jVersion}" - compile "org.slf4j:jcl-over-slf4j:${rootProject.slf4jVersion}" - compile "org.slf4j:log4j-over-slf4j:${rootProject.slf4jVersion}" - compile "org.slf4j:jul-to-slf4j:${rootProject.slf4jVersion}" - compile "org.apache.commons:commons-lang3:3.7" compile "org.apache.commons:commons-collections4:4.1" @@ -31,38 +22,12 @@ dependencies { compile "javax.inject:javax.inject:1" compile 'org.imgscalr:imgscalr-lib:4.2' - compile 'com.h2database:h2:1.4.196' runtime 'mysql:mysql-connector-java:5.1.40' runtime "commons-fileupload:commons-fileupload:1.3.3" - - testCompile project(path: ':juick-core', configuration: 'testArtifacts') - testCompile "junit:junit:${rootProject.junitVersion}" - testCompile "org.hamcrest:hamcrest-all:${rootProject.hamcrestVersion}" - testCompile "org.mockito:mockito-core:${rootProject.mockitoVersion}" testCompile("org.springframework.boot:spring-boot-starter-test") testRuntime "mysql:mysql-connector-java:5.1.40" - testRuntime "org.postgresql:postgresql:42.2.1" -} -dependencyManagement { - imports { mavenBom("org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}") } -} - -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 + testRuntime "org.postgresql:postgresql:42.2.2" } |