70 lines
1.9 KiB
Groovy
70 lines
1.9 KiB
Groovy
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
id 'kotlin-android'
|
||
|
id 'kotlin-android-extensions'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 30
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 21
|
||
|
targetSdkVersion 30
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
consumerProguardFiles "consumer-rules.pro"
|
||
|
}
|
||
|
|
||
|
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 project(':core')
|
||
|
implementation project(':i18n')
|
||
|
implementation project(':preferences')
|
||
|
implementation project(':ui')
|
||
|
|
||
|
// AndroidX
|
||
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
|
implementation 'androidx.activity:activity-ktx:1.1.0'
|
||
|
implementation 'androidx.fragment:fragment-ktx:1.2.5'
|
||
|
|
||
|
// RecyclerView
|
||
|
implementation 'androidx.recyclerview:recyclerview:1.2.0-beta01'
|
||
|
|
||
|
// Constraint
|
||
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||
|
|
||
|
// Lifecycle
|
||
|
api 'android.arch.lifecycle:extensions:1.1.1'
|
||
|
implementation 'android.arch.lifecycle:viewmodel:1.1.1'
|
||
|
|
||
|
// Koin
|
||
|
implementation 'org.koin:koin-android:2.2.1'
|
||
|
implementation 'org.koin:koin-androidx-viewmodel:2.2.1'
|
||
|
testImplementation 'org.koin:koin-test:2.2.1'
|
||
|
|
||
|
// Coroutines
|
||
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2'
|
||
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1'
|
||
|
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.2'
|
||
|
|
||
|
// Kotlin Lib
|
||
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.10'
|
||
|
}
|