Updated API to 29, fixed failing tests
This commit is contained in:
parent
51cdbe7084
commit
fe120a0bf2
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
ext.versions = [
|
||||
minSdk : 14,
|
||||
targetSdk : 28,
|
||||
compileSdk : 28,
|
||||
targetSdk : 29,
|
||||
compileSdk : 29,
|
||||
gradle : '6.5',
|
||||
|
||||
androidTools : "4.0.0",
|
||||
|
|
Loading…
Reference in New Issue