mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
44 lines
No EOL
1.3 KiB
Groovy
44 lines
No EOL
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
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"]
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation project(':core-models')
|
|
implementation project(':protocol')
|
|
implementation project(':data')
|
|
|
|
def applicationDependencies = rootProject.ext.mainApplication
|
|
def anytypeDependencies = rootProject.ext.anytype
|
|
def unitTestDependencies = rootProject.ext.unitTesting
|
|
|
|
implementation applicationDependencies.kotlin
|
|
implementation applicationDependencies.timber
|
|
implementation applicationDependencies.coroutinesAndroid
|
|
implementation anytypeDependencies.middleware
|
|
|
|
testImplementation project(":test:utils")
|
|
testImplementation unitTestDependencies.junit
|
|
testImplementation unitTestDependencies.kotlinTest
|
|
testImplementation unitTestDependencies.mockitoKotlin
|
|
} |