You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
984 B
41 lines
984 B
5 years ago
|
apply plugin: 'com.android.library'
|
||
|
apply plugin: 'kotlin-android'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion rootProject.compileSdkVersion
|
||
|
buildToolsVersion rootProject.buildToolsVersion
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion rootProject.minSdkVersion
|
||
|
targetSdkVersion rootProject.targetSdkVersion
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
}
|
||
|
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "1.8"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
|
||
|
//Kotlin
|
||
|
api kotlinLibraries.kotlinStdlib
|
||
|
api kotlinLibraries.kotlinReflect
|
||
|
api kotlinLibraries.kotlinCoroutines
|
||
|
api kotlinLibraries.kotlinAndroidCoroutines
|
||
|
|
||
|
//AndroidX
|
||
|
compileOnly androidLibraries.appcompat
|
||
|
compileOnly androidLibraries.recyclerView
|
||
|
compileOnly androidLibraries.material
|
||
|
}
|