mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-11 18:20:25 +09:00
54 lines
No EOL
1.3 KiB
Groovy
54 lines
No EOL
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
def config = rootProject.extensions.getByName("ext")
|
|
|
|
compileSdkVersion config["compile_sdk"]
|
|
|
|
defaultConfig {
|
|
minSdkVersion config["min_sdk"]
|
|
targetSdkVersion config["target_sdk"]
|
|
versionCode config["version_code"]
|
|
versionName config["version_name"]
|
|
|
|
testInstrumentationRunner config["test_runner"]
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
testOptions {
|
|
unitTests {
|
|
includeAndroidResources = true
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
def appDependencies = rootProject.ext.mainApplication
|
|
def unitTestDependencies = rootProject.ext.unitTesting
|
|
|
|
implementation project(':domain')
|
|
implementation project(':core-utils')
|
|
implementation appDependencies.gson
|
|
implementation appDependencies.coroutinesAndroid
|
|
|
|
testImplementation unitTestDependencies.junit
|
|
testImplementation unitTestDependencies.kotlinTest
|
|
} |