Skip to content

Instantly share code, notes, and snippets.

@RB-93
Forked from sagar-viradiya/build.gradle
Created October 16, 2020 07:20
Show Gist options
  • Save RB-93/fe4295782ec7babef197a8e914d76254 to your computer and use it in GitHub Desktop.
Save RB-93/fe4295782ec7babef197a8e914d76254 to your computer and use it in GitHub Desktop.
DevFest India 2020 Day 1 - build.gradle file
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: "kotlin-kapt"
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.devfest.india.bmsclone"
minSdkVersion 21
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'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.3.1'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//Retrofit for Networking
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
//Glide Image Loading Library
implementation 'com.github.bumptech.glide:glide:4.11.0'
//Room DB for database
implementation "androidx.room:room-runtime:2.2.5"
kapt "androidx.room:room-compiler:2.2.5"
kapt "androidx.lifecycle:lifecycle-compiler:2.2.0"
// ViewModel
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
}
@RB-93
Copy link
Author

RB-93 commented Oct 16, 2020

Not able to copy- paste file, it says "A required privilege is not held by the client" Please guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment