aboutsummaryrefslogtreecommitdiff
path: root/juick-server
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server')
-rw-r--r--juick-server/build.gradle30
1 files changed, 6 insertions, 24 deletions
diff --git a/juick-server/build.gradle b/juick-server/build.gradle
index bcad2f41..3a60aad7 100644
--- a/juick-server/build.gradle
+++ b/juick-server/build.gradle
@@ -4,14 +4,12 @@ buildscript {
}
}
-apply plugin: 'java'
apply plugin: 'war'
-apply plugin: 'org.springframework.boot'
-apply plugin: 'io.spring.dependency-management'
dependencies {
compile project(':juick-server-jdbc')
compile project(':juick-server-web')
+ compile ('org.springframework.boot:spring-boot-starter-security')
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
compile 'io.springfox:springfox-swagger2:2.8.0'
@@ -26,30 +24,14 @@ dependencies {
compile 'com.rometools:rome:1.9.0'
compile 'com.rometools:rome-modules:1.9.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")
+ // https://mvnrepository.com/artifact/org.springframework.security/spring-security-test
+ testCompile group: 'org.springframework.security', name: 'spring-security-test', version: '5.0.3.RELEASE'
+
testRuntime 'com.jayway.jsonpath:json-path:2.4.0'
}
-compileJava.options.encoding = 'UTF-8'
-
bootJar {
launchScript()
-}
-
-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