2022-01-18 19:04:06 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-parcelize'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
2022-05-07 00:40:38 +08:00
|
|
|
// Do not use `google()`, it prevents Dependabot from working properly
|
|
|
|
maven {
|
|
|
|
url 'https://maven.google.com'
|
|
|
|
}
|
|
|
|
// Do not use `mavenCentral()`, it prevents Dependabot from working properly
|
|
|
|
maven {
|
|
|
|
url 'https://repo1.maven.org/maven2'
|
|
|
|
}
|
2022-01-18 19:04:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdk versions.compileSdk
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdk versions.minSdk
|
|
|
|
targetSdk versions.targetSdk
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility versions.sourceCompat
|
|
|
|
targetCompatibility versions.targetCompat
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "11"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-01-18 21:41:35 +08:00
|
|
|
implementation project(":library:core-utils")
|
|
|
|
|
2022-01-18 19:04:06 +08:00
|
|
|
implementation libs.androidx.appCompat
|
|
|
|
implementation libs.androidx.core
|
2022-05-18 20:19:11 +08:00
|
|
|
implementation libs.androidx.recyclerview
|
2022-01-18 19:04:06 +08:00
|
|
|
|
|
|
|
implementation libs.airbnb.epoxy
|
|
|
|
kapt libs.airbnb.epoxyProcessor
|
|
|
|
|
|
|
|
implementation libs.airbnb.mavericks
|
|
|
|
// Span utils
|
2022-09-15 20:42:43 +08:00
|
|
|
implementation('me.gujun.android:span:1.7') {
|
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
}
|
2022-01-18 19:04:06 +08:00
|
|
|
|
|
|
|
implementation libs.jetbrains.coroutinesCore
|
|
|
|
implementation libs.jetbrains.coroutinesAndroid
|
|
|
|
|
2022-09-27 07:10:18 +08:00
|
|
|
testImplementation 'org.json:json:20220924'
|
2022-01-18 19:04:06 +08:00
|
|
|
testImplementation libs.tests.junit
|
|
|
|
androidTestImplementation libs.androidx.junit
|
|
|
|
androidTestImplementation libs.androidx.espressoCore
|
|
|
|
}
|