1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-07 21:37:02 +09:00
anytype-kotlin/presentation/build.gradle
Sergey Boishtyan 79bcfcd811
Tech | Fix | Lint setup for CI (#2286)
* Tech | Fix | Reduce tag size

* Tech | Enhancement | Move lint configuration to one place

* Tech | Enhancement | Enable Gradle quiet mode for errors logs only
2022-05-18 23:21:27 +03:00

56 lines
2 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
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
}
dependencies {
implementation project(':domain')
implementation project(':core-utils')
implementation project(':library-emojifier')
implementation project(':analytics')
implementation project(':core-models')
def applicationDependencies = rootProject.ext.mainApplication
def unitTestDependencies = rootProject.ext.unitTesting
def analyticsDependencies = rootProject.ext.analytics
implementation applicationDependencies.kotlin
implementation applicationDependencies.coroutinesAndroid
implementation applicationDependencies.lifecycleViewModel
implementation applicationDependencies.lifecycleLiveData
implementation applicationDependencies.timber
implementation applicationDependencies.urlcleaner
implementation analyticsDependencies.amplitude
compileOnly applicationDependencies.javaxInject
testImplementation unitTestDependencies.junit
testImplementation unitTestDependencies.kotlinTest
testImplementation unitTestDependencies.mockitoKotlin
testImplementation unitTestDependencies.coroutineTesting
testImplementation unitTestDependencies.liveDataTesting
testImplementation unitTestDependencies.archCoreTesting
testImplementation unitTestDependencies.androidXTestCore
testImplementation unitTestDependencies.robolectricLatest
testImplementation unitTestDependencies.timberJUnit
testImplementation unitTestDependencies.turbine
testImplementation project(":test:utils")
testImplementation project(":test:core-models-stub")
}