File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
objectbox-rxjava3/src/main/java/io/objectbox/rx3 Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,12 @@ buildscript {
38
38
val essentialsVersion by extra(" 3.1.0" )
39
39
val junitVersion by extra(" 4.13.2" )
40
40
val mockitoVersion by extra(" 3.8.0" )
41
- val kotlinVersion by extra(" 1.7.20" )
42
- val coroutinesVersion by extra(" 1.6.4" )
43
- val dokkaVersion by extra(" 1.7.20" )
41
+ // The versions of Kotlin, Kotlin Coroutines and Dokka must work together.
42
+ // Check https://github.com/Kotlin/kotlinx.coroutines#readme
43
+ // and https://github.com/Kotlin/dokka/releases
44
+ val kotlinVersion by extra(" 1.8.20" )
45
+ val coroutinesVersion by extra(" 1.7.3" )
46
+ val dokkaVersion by extra(" 1.8.20" )
44
47
45
48
println (" version=$obxJavaVersion " )
46
49
println (" objectboxNativeDependency=$obxJniLibVersion " )
Original file line number Diff line number Diff line change @@ -14,10 +14,13 @@ tasks.withType(JavaCompile).configureEach {
14
14
options. release. set(8 )
15
15
}
16
16
17
- // Produce Java 8 byte code, would default to Java 6.
18
17
tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). configureEach {
19
18
kotlinOptions {
19
+ // Produce Java 8 byte code, would default to Java 6.
20
20
jvmTarget = " 1.8"
21
+ // Try to use APIs at most one version newer than lowest supported (notably by Gradle plugin).
22
+ // Note: Kotlin is able to compile with binaries up to one later version.
23
+ apiVersion = " 1.5"
21
24
}
22
25
}
23
26
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import io.reactivex.rxjava3.core.Single
9
9
/* *
10
10
* Shortcut for [`RxQuery.flowableOneByOne(query, strategy)`][RxQuery.flowableOneByOne].
11
11
*/
12
- fun <T > Query<T>.flowableOneByOne (strategy : BackpressureStrategy = BackpressureStrategy .BUFFER ): Flowable <T > {
12
+ fun <T : Any > Query<T>.flowableOneByOne (strategy : BackpressureStrategy = BackpressureStrategy .BUFFER ): Flowable <T > {
13
13
return RxQuery .flowableOneByOne(this , strategy)
14
14
}
15
15
You can’t perform that action at this time.
0 commit comments