Skip to content

Commit 83b11ba

Browse files
author
Nigel.Zheng
committed
chore: update gradle dependencies to use api configuration
1 parent 39cd7a7 commit 83b11ba

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ version project.findProperty("version")
1919
sourceCompatibility = 1.8
2020

2121
repositories {
22+
mavenCentral()
2223
maven { url "https://repo.spring.io/release" }
23-
maven { url 'https://repo.spring.io/libs-milestone' }
24+
//maven { url 'https://repo.spring.io/libs-milestone' }
2425
maven { url "https://repo.spring.io/milestone" }
25-
maven { url "https://repo.spring.io/snapshot" }
26-
mavenCentral()
26+
//maven { url "https://repo.spring.io/snapshot" }
2727
}
2828

2929
dependencies {
30-
implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
31-
implementation platform("org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}")
30+
api platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
31+
api platform("org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}")
3232

33-
implementation "org.springframework.security.oauth:spring-security-oauth2:latest.release"
34-
implementation "org.springframework.boot:spring-boot-starter-test"
35-
implementation "org.springframework.security:spring-security-test"
36-
implementation group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.4'
33+
api "org.springframework.security.oauth:spring-security-oauth2:latest.release"
34+
api "org.springframework.boot:spring-boot-starter-test"
35+
api "org.springframework.security:spring-security-test"
36+
api group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.4'
3737

38-
implementation group: 'junit', name: 'junit'
38+
api group: 'junit', name: 'junit'
3939

4040
compileOnly group: 'javax.servlet', name: 'javax.servlet-api', version: '4.0.1'
4141
}

0 commit comments

Comments
 (0)