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-www/build.gradle | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'juick-www/build.gradle') diff --git a/juick-www/build.gradle b/juick-www/build.gradle index defc6558..a48532d4 100644 --- a/juick-www/build.gradle +++ b/juick-www/build.gradle @@ -18,14 +18,10 @@ task compileFrontend(type: YarnTask) { args = ['run', 'compile'] } -apply plugin: 'java' -apply plugin: 'war' -apply plugin: 'org.springframework.boot' -apply plugin: 'io.spring.dependency-management' - dependencies { compile project(':juick-server-web') compile project(':juick-server-jdbc') + compile ('org.springframework.boot:spring-boot-starter-security') compile 'com.github.scribejava:scribejava-apis:5.3.0' compile 'com.github.ooxi:serialized-php-parser:0.5.0' compile 'com.sun.mail:javax.mail:1.6.1' @@ -33,20 +29,13 @@ dependencies { compile 'com.atlassian.commonmark:commonmark:0.11.0' compile 'com.atlassian.commonmark:commonmark-ext-autolink:0.11.0' - testCompile project(path: ':juick-core', configuration: 'testArtifacts') - testCompile project(path: ':juick-server-web', configuration: 'testArtifacts') - testCompile project(path: ':juick-server-jdbc', configuration: 'testArtifacts') + testCompile("org.springframework.boot:spring-boot-starter-test") testCompile ('net.sourceforge.htmlunit:htmlunit:2.29') } compileFrontend.dependsOn 'yarn' processResources.dependsOn 'compileFrontend' -compileJava.options.encoding = 'UTF-8' bootJar { launchScript() } - -configurations { - all*.exclude module: 'commons-logging' -} -- cgit v1.2.3