Skip to content

Instantly share code, notes, and snippets.

@bipinvaylu
Created September 22, 2019 11:45
Show Gist options
  • Save bipinvaylu/18494168c1665acf3f9d9f4e5f053efb to your computer and use it in GitHub Desktop.
Save bipinvaylu/18494168c1665acf3f9d9f4e5f053efb to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
//TODO: First step - Order matter here
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 29
buildToolsVersion "29.0.0"
defaultConfig {
applicationId "dev.bipin.doit"
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'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
//TODO: First step
implementation "androidx.core:core-ktx:1.0.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment