Updated API to 29, fixed failing tests

This commit is contained in:
Nite 2020-11-29 13:25:06 +01:00
parent 51cdbe7084
commit fe120a0bf2
No known key found for this signature in database
GPG Key ID: 1D1AD59B1C6386C1
2 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,6 @@ import java.io.InputStream
import okio.Okio
fun Any.loadResourceStream(name: String): InputStream {
val source = Okio.buffer(Okio.source(javaClass.classLoader.getResourceAsStream(name)))
val source = Okio.buffer(Okio.source(javaClass.classLoader!!.getResourceAsStream(name)))
return source.inputStream()
}

View File

@ -1,7 +1,7 @@
ext.versions = [
minSdk : 14,
targetSdk : 28,
compileSdk : 28,
targetSdk : 29,
compileSdk : 29,
gradle : '6.5',
androidTools : "4.0.0",