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'
|
|
|
|
compileSdk 33
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdk 21
|
|
|
|
targetSdk 33
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
|
|
|
kotlinOptions {
|
2023-05-08 19:37:38 +03:00
|
|
|
jvmTarget = '17'
|
2023-01-20 18:43:28 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "androidx.appcompat:appcompat:$appCompatVersion"
|
|
|
|
implementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
|
|
|
|
}
|