aboutsummaryrefslogtreecommitdiff
path: root/juick-server-web
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-15 23:24:13 +0300
committerGravatar Vitaly Takmazov2018-03-15 23:24:13 +0300
commitef9bb70fa1fe3744e971837eb78c6c004cd1e989 (patch)
treecee55dfcdcf9daf29c4835b200e1277a5d90b101 /juick-server-web
parent55ec9f370d76a76aa33e290a093995d576e70bdb (diff)
boot: simplify test configuration
Diffstat (limited to 'juick-server-web')
-rw-r--r--juick-server-web/build.gradle39
1 files changed, 1 insertions, 38 deletions
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