2024-03-29 18:56:51 +03:00
|
|
|
/*
|
|
|
|
* Nextcloud - Android Client
|
|
|
|
*
|
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
2024-06-03 17:40:29 +03:00
|
|
|
* SPDX-FileCopyrightText: 2024 Alper Ozturk <alper.ozturk@nextcloud.com>
|
2024-04-08 18:35:50 +03:00
|
|
|
* SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
|
2024-03-29 18:56:51 +03:00
|
|
|
* SPDX-FileCopyrightText: 2023 Andy Scherzinger <info@andy-scherzinger.de>
|
2024-04-30 13:16:39 +03:00
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
|
2024-03-29 18:56:51 +03:00
|
|
|
*/
|
2023-01-20 18:43:28 +03:00
|
|
|
buildscript {
|
|
|
|
dependencies {
|
|
|
|
classpath "com.android.tools.build:gradle:$androidPluginVersion"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace 'com.nextcloud.appscan'
|
|
|
|
|
|
|
|
defaultConfig {
|
2024-11-28 11:19:05 +03:00
|
|
|
minSdk 24
|
|
|
|
targetSdk 35
|
|
|
|
compileSdk 35
|
2023-01-20 18:43:28 +03:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
}
|
|
|
|
}
|
2023-05-09 10:01:19 +03:00
|
|
|
|
2023-01-20 18:43:28 +03:00
|
|
|
compileOptions {
|
2023-05-08 19:37:38 +03:00
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
2023-01-20 18:43:28 +03:00
|
|
|
}
|
2023-05-09 10:01:19 +03:00
|
|
|
|
2023-01-20 18:43:28 +03:00
|
|
|
kotlinOptions {
|
2023-05-08 19:37:38 +03:00
|
|
|
jvmTarget = '17'
|
2023-01-20 18:43:28 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-11-28 11:19:05 +03:00
|
|
|
implementation "androidx.appcompat:appcompat:$appCompatVersion"
|
2023-01-20 18:43:28 +03:00
|
|
|
implementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
|
|
|
|
}
|