-
-
Save RB-93/fe4295782ec7babef197a8e914d76254 to your computer and use it in GitHub Desktop.
DevFest India 2020 Day 1 - build.gradle file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not able to copy- paste file, it says "A required privilege is not held by the client" Please guide