Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created May 14, 2018 13:21
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/b3ea12dd180cf0d197d7dde148c8b22a to your computer and use it in GitHub Desktop.
Save ssaurel/b3ea12dd180cf0d197d7dde148c8b22a to your computer and use it in GitHub Desktop.
Add OkHttp dependency for our Kotlin tutorial on SSaurel's Blog
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.ssaurel.bitcoinpricewatcher"
minSdkVersion 15
targetSdkVersion 26
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:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
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