mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
56 lines
1.7 KiB
Groovy
56 lines
1.7 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
android {
|
|
def config = rootProject.extensions.getByName("ext")
|
|
compileSdkVersion config["compile_sdk"]
|
|
|
|
defaultConfig {
|
|
minSdkVersion config["min_sdk"]
|
|
targetSdkVersion config["target_sdk"]
|
|
testInstrumentationRunner config["test_runner"]
|
|
}
|
|
|
|
testOptions.unitTests.includeAndroidResources = true
|
|
|
|
androidExtensions {
|
|
experimental = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation project(':domain')
|
|
implementation project(':core-utils')
|
|
implementation project(':core-ui')
|
|
implementation project(':library-page-icon-picker-widget')
|
|
|
|
def applicationDependencies = rootProject.ext.mainApplication
|
|
def unitTestDependencies = rootProject.ext.unitTesting
|
|
def lib = rootProject.ext.libraryPageIconPicker
|
|
|
|
implementation lib.emojiJava
|
|
|
|
implementation applicationDependencies.kotlin
|
|
implementation applicationDependencies.coroutines
|
|
|
|
implementation applicationDependencies.viewModel
|
|
implementation applicationDependencies.viewModelExtensions
|
|
|
|
implementation applicationDependencies.rxjava2
|
|
implementation applicationDependencies.rxRelay
|
|
|
|
implementation applicationDependencies.timber
|
|
|
|
testImplementation unitTestDependencies.junit
|
|
testImplementation unitTestDependencies.kotlinTest
|
|
testImplementation unitTestDependencies.mockitoKotlin
|
|
testImplementation unitTestDependencies.coroutineTesting
|
|
testImplementation unitTestDependencies.liveDataTesting
|
|
testImplementation unitTestDependencies.archCoreTesting
|
|
|
|
androidTestImplementation 'androidx.test:core:1.2.0'
|
|
}
|