Skip to content

Commit

Permalink
upped minSdk to 19
Browse files Browse the repository at this point in the history
updated fuel to v2.0.1
  • Loading branch information
markusressel committed Feb 10, 2019
1 parent 00465b9 commit 54748c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {

gradle_plugin_version = '3.3.0'

minSdkVersion = 16
minSdkVersion = 19
versionName = "2.1.0"
versionCode = 1

Expand Down

0 comments on commit 54748c3

Please sign in to comment.