Skip to content

Instantly share code, notes, and snippets.

@yunusemredilber
Created August 12, 2019 21:46
Show Gist options
  • Save yunusemredilber/e55ce3e00a18cf29ddfa6da4b6723044 to your computer and use it in GitHub Desktop.
Save yunusemredilber/e55ce3e00a18cf29ddfa6da4b6723044 to your computer and use it in GitHub Desktop.
turbolinks-android fix unnecessary runtime crash
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.1"
defaultConfig {
applicationId "com.example.groupath"
minSdkVersion 19
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.basecamp:turbolinks:1.0.9' // Turbolinks
implementation 'com.google.code.gson:gson:2.8.2' // Important addition 1
implementation 'org.apache.commons:commons-lang3:3.1' // Important addition 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment