Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build.gradle file for the Chuck Norris Facts Android App on the SSaurel's Channel
apply plugin: ''
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.ssaurel.chucknorrisfacts"
minSdkVersion 15
targetSdkVersion 27
versionCode 1
versionName "1.0"
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), ''
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation ''
implementation ''
// Don't forget to add OkHttp dependency to make Web Services calls
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment