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-server-web/build.gradle | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) (limited to 'juick-server-web') diff --git a/juick-server-web/build.gradle b/juick-server-web/build.gradle index 0cf63313..390b8e5a 100644 --- a/juick-server-web/build.gradle +++ b/juick-server-web/build.gradle @@ -1,8 +1,3 @@ -apply plugin: 'java' -apply plugin: 'io.spring.dependency-management' - -sourceCompatibility = 1.8 - dependencies { compile project(':juick-server-core') compile "com.fasterxml.jackson.core:jackson-core:${rootProject.jacksonVersion}" @@ -11,15 +6,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 'com.github.ben-manes.caffeine:caffeine:2.6.2' compile("org.springframework.boot:spring-boot-starter-cache") compile("org.springframework.boot:spring-boot-starter-web") @@ -38,29 +24,6 @@ dependencies { } compile 'xpp3:xpp3:1.1.4c' - 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" testCompile "org.springframework.security:spring-security-test" -} -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 -} +} \ No newline at end of file -- cgit v1.2.3