| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- /* _____ _
- * |_ _| |_ _ _ ___ ___ _ __ __ _
- * | | | ' \| '_/ -_) -_) ' \/ _` |_
- * |_| |_||_|_| \___\___|_|_|_\__,_(_)
- *
- * Threema for Android
- * Copyright (c) 2025 Threema GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
- */
- plugins {
- alias(libs.plugins.android.library)
- alias(libs.plugins.kotlin.android)
- }
- android {
- namespace = "ch.threema.android"
- compileSdk = 35
- defaultConfig {
- minSdk = 24
- testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
- }
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_11
- targetCompatibility = JavaVersion.VERSION_11
- }
- kotlin {
- jvmToolchain(17)
- }
- buildTypes {
- debug {}
- release {}
- }
- }
- dependencies {
- implementation(project(":common"))
- implementation(libs.androidx.core)
- implementation(libs.androidx.appcompat)
- implementation(libs.compose.annotation)
- testImplementation(libs.junit)
- testImplementation(libs.mockk)
- testImplementation(libs.kotlinx.coroutines.test)
- testImplementation(libs.kotlin.test)
- testImplementation(libs.turbine)
- testImplementation(project(":test-helpers"))
- }
- sonarqube {
- properties {
- property("sonar.projectKey", "android-client")
- property("sonar.projectName", "Threema for Android")
- property("sonar.sources", "src/main/")
- property("sonar.tests", "src/test/")
- property("sonar.sourceEncoding", "UTF-8")
- property("sonar.verbose", "true")
- }
- }
- tasks.withType<Test> {
- useJUnitPlatform()
- }
|