Merge pull request #358 from nitehu/fix/api29

Updated API to 29, fixed failing tests
This commit is contained in:
Nite 2020-11-30 08:50:45 +01:00 committed by GitHub
commit e446785d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",