|
@@ -1,31 +1,35 @@
|
|
|
-apply plugin: 'io.spring.convention.spring-module'
|
|
|
+plugins {
|
|
|
+ id "io.spring.convention.spring-module"
|
|
|
+}
|
|
|
|
|
|
dependencies {
|
|
|
- compile 'org.springframework.security:spring-security-config'
|
|
|
- compile 'org.springframework.security:spring-security-web'
|
|
|
- compile 'org.springframework.security:spring-security-oauth2-core'
|
|
|
- compile 'org.springframework.security:spring-security-oauth2-jose'
|
|
|
- compile 'org.springframework.security:spring-security-oauth2-resource-server'
|
|
|
- compile springCoreDependency
|
|
|
- compile 'com.nimbusds:nimbus-jose-jwt'
|
|
|
- compile 'com.fasterxml.jackson.core:jackson-databind'
|
|
|
+ management platform(project(":spring-authorization-server-dependencies"))
|
|
|
|
|
|
- optional 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
|
|
|
- optional 'org.springframework:spring-jdbc'
|
|
|
+ api "org.springframework.security:spring-security-config"
|
|
|
+ api "org.springframework.security:spring-security-web"
|
|
|
+ api "org.springframework.security:spring-security-oauth2-core"
|
|
|
+ api "org.springframework.security:spring-security-oauth2-jose"
|
|
|
+ api "org.springframework.security:spring-security-oauth2-resource-server"
|
|
|
+ api("org.springframework:spring-core") {
|
|
|
+ exclude group: "commons-logging", module: "commons-logging"
|
|
|
+ }
|
|
|
+ api "com.nimbusds:nimbus-jose-jwt"
|
|
|
+ api "com.fasterxml.jackson.core:jackson-databind"
|
|
|
|
|
|
- testCompile 'org.springframework.security:spring-security-test'
|
|
|
- testCompile 'org.springframework:spring-webmvc'
|
|
|
- testCompile 'junit:junit'
|
|
|
- testCompile 'org.assertj:assertj-core'
|
|
|
- testCompile 'org.mockito:mockito-core'
|
|
|
- testCompile 'com.jayway.jsonpath:json-path'
|
|
|
- testCompile 'com.squareup.okhttp3:mockwebserver'
|
|
|
+ optional "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
|
|
|
+ optional "org.springframework:spring-jdbc"
|
|
|
|
|
|
- testRuntime 'org.hsqldb:hsqldb'
|
|
|
+ testImplementation "org.springframework.security:spring-security-test"
|
|
|
+ testImplementation "org.springframework:spring-webmvc"
|
|
|
+ testImplementation "org.junit.jupiter:junit-jupiter"
|
|
|
+ testImplementation "junit:junit"
|
|
|
+ testImplementation "org.junit.vintage:junit-vintage-engine"
|
|
|
+ testImplementation "org.assertj:assertj-core"
|
|
|
+ testImplementation "org.mockito:mockito-core"
|
|
|
+ testImplementation "com.jayway.jsonpath:json-path"
|
|
|
+ testImplementation "com.squareup.okhttp3:mockwebserver"
|
|
|
|
|
|
- provided 'javax.servlet:javax.servlet-api'
|
|
|
-}
|
|
|
+ testRuntimeOnly "org.hsqldb:hsqldb"
|
|
|
|
|
|
-jacoco {
|
|
|
- toolVersion = '0.8.6'
|
|
|
+ provided "javax.servlet:javax.servlet-api"
|
|
|
}
|