Skip to content

Commit 158a903

Browse files
committed
Upgrade to RxJava 3.1.1 and Gradle 7.2
1 parent 2824a5e commit 158a903

File tree

4 files changed

+13
-16
lines changed

4 files changed

+13
-16
lines changed

build.gradle

+9-12
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ buildscript {
77
}
88

99
dependencies {
10-
classpath "gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.15.0"
10+
classpath "gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.16.1"
1111
classpath "me.champeau.gradle:jmh-gradle-plugin:0.5.3"
1212
classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.5.3'
1313
classpath "biz.aQute.bnd:biz.aQute.bnd.gradle:5.3.0"
14-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.8.0'
14+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.17.0'
1515
}
1616
}
1717

18-
apply plugin: 'java'
18+
apply plugin: 'java-library'
1919
apply plugin: 'eclipse'
2020
apply plugin: "me.champeau.gradle.jmh"
2121
apply plugin: 'pmd'
@@ -39,23 +39,20 @@ repositories {
3939
mavenCentral()
4040
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
4141
maven { url 'https://oss.sonatype.org/content/groups/public' }
42-
maven { url 'https://oss.jfrog.org/libs-snapshot' }
4342
maven { url 'https://repo.spring.io/libs-snapshot' }
4443
}
4544

4645
dependencies {
4746
signature 'org.codehaus.mojo.signature:java18:1.0@signature'
4847

49-
compile "org.reactivestreams:reactive-streams:1.0.3"
50-
compile "io.reactivex:rxjava:1.3.8"
51-
compile "io.reactivex.rxjava3:rxjava:3.1.0"
48+
api "org.reactivestreams:reactive-streams:1.0.3"
49+
api "io.reactivex:rxjava:1.3.8"
50+
api "io.reactivex.rxjava3:rxjava:3.1.1"
5251

53-
testCompile group: 'junit', name: 'junit', version: '4.13.2'
54-
testCompile 'org.mockito:mockito-core:3.12.4'
52+
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
53+
testImplementation 'org.mockito:mockito-core:3.12.4'
5554
}
5655

57-
apply plugin: 'maven'
58-
5956
apply plugin: 'biz.aQute.bnd.builder'
6057

6158
jar {
@@ -126,7 +123,7 @@ build.dependsOn jacocoTestReport
126123
check.dependsOn jacocoTestReport
127124

128125
pmd {
129-
toolVersion = '5.4.2'
126+
toolVersion = '6.21.0'
130127
ignoreFailures = true
131128
sourceSets = [sourceSets.main]
132129
ruleSets = []

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GROUP=com.github.akarnokd
2-
VERSION_NAME=3.0.2
3-
version=3.0.2
2+
VERSION_NAME=3.1.1
3+
version=3.1.1
44

55
POM_ARTIFACT_ID=rxjava3-interop
66
POM_NAME=Interop library between RxJava 1.x and 3.x
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/test/java/hu/akarnokd/rxjava3/interop/TestHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import io.reactivex.rxjava3.disposables.Disposable;
4141
import io.reactivex.rxjava3.exceptions.*;
4242
import io.reactivex.rxjava3.functions.*;
43-
import io.reactivex.rxjava3.internal.fuseable.*;
43+
import io.reactivex.rxjava3.operators.*;
4444
import io.reactivex.rxjava3.internal.operators.completable.CompletableToFlowable;
4545
import io.reactivex.rxjava3.internal.operators.maybe.MaybeToFlowable;
4646
import io.reactivex.rxjava3.internal.operators.single.SingleToFlowable;

0 commit comments

Comments
 (0)