Skip to content

Instantly share code, notes, and snippets.

@CostaFot
Last active February 25, 2019 19:39
Show Gist options
  • Save CostaFot/7217a537ab81935252080a3d68249cca to your computer and use it in GitHub Desktop.
Save CostaFot/7217a537ab81935252080a3d68249cca to your computer and use it in GitHub Desktop.
Glide dependencies
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
// need this plugin to make this work
apply plugin: 'kotlin-kapt'
android {
// your android stuff goes here
}
dependencies {
// auto-generated dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0-alpha02'
implementation 'androidx.core:core-ktx:1.1.0-alpha04'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.2-alpha01'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.2-alpha01'
// Glide dependencies here
implementation "com.github.bumptech.glide:glide:4.8.0"
kapt "com.github.bumptech.glide:compiler:4.8.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment