diff --git a/app/build.gradle b/app/build.gradle index b560a20..4dfd227 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -47,7 +47,7 @@ dependencies { implementation "com.android.support:appcompat-v7:$supportLibVersion" implementation "com.android.support:design:$supportLibVersion" - def fuelVersion = "1.16.0" + def fuelVersion = "2.0.1" implementation "com.github.kittinunf.fuel:fuel:$fuelVersion" implementation "com.github.kittinunf.fuel:fuel-android:$fuelVersion" diff --git a/app/src/main/java/de/markusressel/kodeeditor/MainActivity.kt b/app/src/main/java/de/markusressel/kodeeditor/MainActivity.kt index cf2e73b..b408c66 100644 --- a/app/src/main/java/de/markusressel/kodeeditor/MainActivity.kt +++ b/app/src/main/java/de/markusressel/kodeeditor/MainActivity.kt @@ -36,7 +36,7 @@ class MainActivity : AppCompatActivity() { private fun initEditorText() { Fuel.get("https://raw.githubusercontent.com/markusressel/KodeEditor/master/README.md") - .responseString { request, response, result -> + .responseString { _, _, result -> val (text, error) = result if (error != null || text == null) { diff --git a/build.gradle b/build.gradle index 5c20852..9832262 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { gradle_plugin_version = '3.3.0' - minSdkVersion = 16 + minSdkVersion = 19 versionName = "2.1.0" versionCode = 1