Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created July 3, 2018 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/ec3e7c9b945690a1120eda8b46664e69 to your computer and use it in GitHub Desktop.
Save ssaurel/ec3e7c9b945690a1120eda8b46664e69 to your computer and use it in GitHub Desktop.
Build.gradle file for the Chuck Norris Facts Android App on the SSaurel's Channel
apply plugin: 'com.android.application'
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'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
// 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