Skip to content

Commit 7afbb24

Browse files
committed
Use api configuration
Closes gh-616
1 parent 6ad8f6c commit 7afbb24

File tree

6 files changed

+26
-23
lines changed

6 files changed

+26
-23
lines changed

core-tiger/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ plugins {
44

55
dependencies {
66
management platform(project(":spring-ldap-dependencies"))
7-
implementation project(":spring-ldap-core"),
8-
"org.springframework:spring-tx"
7+
api project(":spring-ldap-core")
8+
api "org.springframework:spring-tx"
99

1010
testImplementation platform('org.junit:junit-bom')
1111
testImplementation "org.junit.vintage:junit-vintage-engine"

core/build.gradle

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ javacc {
1414

1515
dependencies {
1616
management platform(project(":spring-ldap-dependencies"))
17-
implementation "org.springframework:spring-core"
18-
implementation "org.springframework:spring-beans"
19-
implementation "org.springframework:spring-tx"
17+
api "org.springframework:spring-core"
18+
api "org.springframework:spring-beans"
19+
api "org.springframework:spring-tx"
20+
21+
implementation "jakarta.xml.bind:jakarta.xml.bind-api"
2022
implementation "org.slf4j:slf4j-api"
2123

2224
provided "com.sun:ldapbp:1.0"
@@ -28,7 +30,6 @@ dependencies {
2830
optional "com.querydsl:querydsl-apt"
2931
optional "commons-pool:commons-pool"
3032
optional "org.apache.commons:commons-pool2"
31-
implementation 'jakarta.xml.bind:jakarta.xml.bind-api'
3233

3334
testImplementation platform('org.junit:junit-bom')
3435
testImplementation "org.junit.vintage:junit-vintage-engine"

ldif/ldif-core/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
dependencies {
66
management platform(project(":spring-ldap-dependencies"))
7-
implementation project(":spring-ldap-core")
7+
api project(":spring-ldap-core")
88

99
testImplementation platform('org.junit:junit-bom')
1010
testImplementation "org.junit.vintage:junit-vintage-engine"

odm/build.gradle

+7-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ jar {
88

99
dependencies {
1010
management platform(project(":spring-ldap-dependencies"))
11-
implementation project(":spring-ldap-core"),
12-
project(":spring-ldap-core-tiger"),
13-
"org.springframework:spring-core",
14-
"org.freemarker:freemarker",
15-
"commons-logging:commons-logging",
16-
"commons-cli:commons-cli"
11+
api project(":spring-ldap-core")
12+
api project(":spring-ldap-core-tiger")
13+
api "org.springframework:spring-core"
14+
15+
implementation "org.freemarker:freemarker"
16+
implementation "commons-logging:commons-logging"
17+
implementation "commons-cli:commons-cli"
1718

1819
runtimeOnly "org.springframework:spring-context"
1920

sandbox/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
dependencies {
66
management platform(project(":spring-ldap-dependencies"))
7-
implementation project(":spring-ldap-core")
7+
api project(":spring-ldap-core")
88

99
provided "com.sun:ldapbp:1.0"
1010

test-support/build.gradle

+10-9
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ plugins {
44

55
dependencies {
66
management platform(project(":spring-ldap-dependencies"))
7-
implementation project(":spring-ldap-core"),
8-
project(":spring-ldap-ldif-core"),
9-
"com.google.code.typica:typica",
10-
"commons-io:commons-io",
11-
"javax.activation:activation",
12-
"org.springframework:spring-core",
13-
"org.springframework:spring-beans",
14-
"org.springframework:spring-context",
15-
"org.springframework:spring-test"
7+
api project(":spring-ldap-core")
8+
api project(":spring-ldap-ldif-core")
9+
api "org.springframework:spring-core"
10+
api "org.springframework:spring-beans"
11+
api "org.springframework:spring-context"
12+
api "org.springframework:spring-test"
13+
14+
implementation "com.google.code.typica:typica"
15+
implementation "commons-io:commons-io"
16+
implementation "javax.activation:activation"
1617

1718

1819
optional "org.apache.directory.server:apacheds-core-entry"

0 commit comments

Comments
 (0)