c2c-sync/appscan/build.gradle

52 lines
1.4 KiB
Groovy
Raw Permalink Normal View History

2025-09-18 17:54:51 +02:00
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
2025-09-18 18:43:03 +02:00
* SPDX-FileCopyrightText: 2024 Alper Ozturk <alper.ozturk@nextcloud.com>
2025-09-18 17:54:51 +02:00
* SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
* SPDX-FileCopyrightText: 2023 Andy Scherzinger <info@andy-scherzinger.de>
2025-09-18 18:43:03 +02:00
* SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
2025-09-18 17:54:51 +02:00
*/
buildscript {
dependencies {
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
2025-09-18 18:43:03 +02:00
apply plugin: "com.android.library"
apply plugin: "kotlin-android"
2025-09-18 17:54:51 +02:00
android {
2025-09-18 18:43:03 +02:00
namespace = "com.nextcloud.appscan"
2025-09-18 17:54:51 +02:00
defaultConfig {
2025-09-18 18:43:03 +02:00
minSdk = 27
targetSdk = 35
compileSdk = 35
2025-09-18 17:54:51 +02:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
2025-09-18 18:43:03 +02:00
minifyEnabled = false
2025-09-18 17:54:51 +02:00
}
}
compileOptions {
2025-09-18 18:43:03 +02:00
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
2025-09-18 17:54:51 +02:00
}
kotlinOptions {
2025-09-18 18:43:03 +02:00
jvmTarget = "17"
2025-09-18 17:54:51 +02:00
}
}
dependencies {
implementation "androidx.appcompat:appcompat:$appCompatVersion"
2025-09-18 18:43:03 +02:00
implementation "com.github.Hazzatur:Document-Scanning-Android-SDK:$documentScannerVersion"
implementation "com.github.nextcloud.android-common:ui:$androidCommonLibraryVersion"
2025-09-18 17:54:51 +02:00
}