Skip to content

Commit b10427c

Browse files
committed
Remove 'java-library and switch 'api to 'implementation'
1 parent acfdb7f commit b10427c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ apply from: 干.file('spotless/freshmark.gradle')
1313

1414
subprojects { subProject ->
1515
apply from: 干.file('base/java8.gradle')
16-
apply plugin: 'java-library'
1716

1817
if (subProject.name == 'durian-swt') {
1918
// configured there
@@ -31,7 +30,7 @@ subprojects { subProject ->
3130
}
3231
}
3332
dependencies {
34-
api project(':durian-swt')
33+
implementation project(':durian-swt')
3534
}
3635
configurations.all {
3736
resolutionStrategy.eachDependency { DependencyResolveDetails details ->

durian-swt/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apply plugin: 'com.diffplug.gradle.eclipse.mavencentral'
22
eclipseMavenCentral { release SWT_VERSION, {
3-
api 'org.eclipse.swt'
4-
api 'org.eclipse.jface'
3+
implementation 'org.eclipse.swt'
4+
implementation 'org.eclipse.jface'
55
useNativesForRunningPlatform()
66
} }
77
dependencies {
8-
api project(':durian-swt.os')
9-
api "com.diffplug.durian:durian-rx:$VER_DURIAN_RX"
10-
api "io.reactivex.rxjava2:rxjava:$VER_RXJAVA"
8+
implementation project(':durian-swt.os')
9+
implementation "com.diffplug.durian:durian-rx:$VER_DURIAN_RX"
10+
implementation "io.reactivex.rxjava2:rxjava:$VER_RXJAVA"
1111
implementation "com.diffplug.durian:durian-core:$VER_DURIAN"
1212
implementation "com.diffplug.durian:durian-collect:$VER_DURIAN"
1313
implementation "com.diffplug.durian:durian-concurrent:$VER_DURIAN"

0 commit comments

Comments
 (0)