diff --git a/.travis.yml b/.travis.yml index a2a230786..1cc5597e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,14 @@ language: android android: components: - build-tools-29.0.2 - - android-29 + - android-27 - extra-android-m2repository - extra-google-m2repository - extra-android-support licenses: - android-sdk-license-.+ before_install: -- yes | sdkmanager "platforms;android-29" # workaround for accepting the license +- yes | sdkmanager "platforms;android-27" # workaround for accepting the license - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then openssl aes-256-cbc -K $encrypted_5ba4ee4c096f_key -iv $encrypted_5ba4ee4c096f_iv -in "$PWD/.travis/secrets.tar.enc" -out secrets.tar -d; tar xf secrets.tar; diff --git a/common.gradle b/common.gradle index 9d11808b7..78133443d 100644 --- a/common.gradle +++ b/common.gradle @@ -1,5 +1,5 @@ android { - compileSdkVersion 29 + compileSdkVersion 27 buildToolsVersion '29.0.2' buildTypes { @@ -30,7 +30,7 @@ android { defaultConfig { minSdkVersion 16 - targetSdkVersion 29 + targetSdkVersion 27 applicationIdSuffix pkgNameSuffix versionCode extVersionCode versionName "$libVersion.$extVersionCode" diff --git a/lib/ratelimit/build.gradle b/lib/ratelimit/build.gradle index b76ad3d07..547eee1a0 100644 --- a/lib/ratelimit/build.gradle +++ b/lib/ratelimit/build.gradle @@ -2,12 +2,12 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - compileSdkVersion 29 + compileSdkVersion 27 buildToolsVersion '29.0.2' defaultConfig { minSdkVersion 16 - targetSdkVersion 29 + targetSdkVersion 27 versionCode 1 versionName '1.0.0' } diff --git a/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/NewToki.kt b/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/NewToki.kt index 231dea02c..802c4da0f 100644 --- a/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/NewToki.kt +++ b/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/NewToki.kt @@ -246,7 +246,7 @@ open class NewToki(override val name: String, private val defaultBaseUrl: String screen.addPreference(baseUrlPref) } - private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl)!! + private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl) companion object { private const val BASE_URL_PREF_TITLE = "Override BaseUrl"