build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Nextcloud - Android Client
  3. *
  4. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-FileCopyrightText: 2024 Alper Ozturk <alper.ozturk@nextcloud.com>
  6. * SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
  7. * SPDX-FileCopyrightText: 2023 Andy Scherzinger <info@andy-scherzinger.de>
  8. * SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
  9. */
  10. buildscript {
  11. dependencies {
  12. classpath "com.android.tools.build:gradle:$androidPluginVersion"
  13. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  14. }
  15. }
  16. apply plugin: 'com.android.library'
  17. apply plugin: 'kotlin-android'
  18. android {
  19. namespace 'com.nextcloud.appscan'
  20. compileSdk 34
  21. defaultConfig {
  22. minSdk 21
  23. targetSdk 34
  24. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  25. }
  26. buildTypes {
  27. release {
  28. minifyEnabled false
  29. }
  30. }
  31. compileOptions {
  32. sourceCompatibility JavaVersion.VERSION_17
  33. targetCompatibility JavaVersion.VERSION_17
  34. }
  35. kotlinOptions {
  36. jvmTarget = '17'
  37. }
  38. }
  39. dependencies {
  40. implementation "androidx.appcompat:appcompat:1.7.0"
  41. implementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
  42. }