mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-23 00:59:23 +03:00
2 replace all actions have been performed: - "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial" - "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
54 lines
1.3 KiB
Groovy
54 lines
1.3 KiB
Groovy
/*
|
|
* Copyright 2021-2024 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
namespace "im.vector.lib.core.utils"
|
|
|
|
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 = versions.jvmTarget
|
|
freeCompilerArgs += [
|
|
"-opt-in=kotlin.RequiresOptIn"
|
|
]
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.jetbrains.coroutinesAndroid
|
|
|
|
// TESTS
|
|
testImplementation libs.tests.junit
|
|
testImplementation libs.tests.kluent
|
|
testImplementation libs.mockk.mockk
|
|
testImplementation(libs.jetbrains.coroutinesTest) {
|
|
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
|
|
}
|
|
}
|