Skip to content

Commit 283ca57

Browse files
artem-zinnatullinakarnokd
authored andcommitted
Update 'java' → 'java-library' Gradle plugin, update deps configurations. (#5682)
1 parent 615e541 commit 283ca57

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (releaseTag != null && !releaseTag.isEmpty()) {
3333

3434
description = "RxJava: Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM."
3535

36-
apply plugin: "java"
36+
apply plugin: "java-library"
3737
apply plugin: "checkstyle"
3838
apply plugin: "jacoco"
3939
apply plugin: "ru.vyarus.animalsniffer"
@@ -65,13 +65,14 @@ repositories {
6565
dependencies {
6666
signature "org.codehaus.mojo.signature:java16:1.1@signature"
6767

68-
compile "org.reactivestreams:reactive-streams:$reactiveStreamsVersion"
68+
api "org.reactivestreams:reactive-streams:$reactiveStreamsVersion"
69+
jmh "org.reactivestreams:reactive-streams:$reactiveStreamsVersion"
6970

70-
testCompile "junit:junit:$junitVersion"
71-
testCompile "org.mockito:mockito-core:$mockitoVersion"
71+
testImplementation "junit:junit:$junitVersion"
72+
testImplementation "org.mockito:mockito-core:$mockitoVersion"
7273

73-
testCompile "org.reactivestreams:reactive-streams-tck:$reactiveStreamsVersion"
74-
testCompile "org.testng:testng:$testNgVersion"
74+
testImplementation "org.reactivestreams:reactive-streams-tck:$reactiveStreamsVersion"
75+
testImplementation "org.testng:testng:$testNgVersion"
7576
}
7677

7778
javadoc {

0 commit comments

Comments
 (0)