The QR Code Scanner package for Appeto SDK.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

56 строки
1.4 KiB

  1. group 'net.touchcapture.qr.flutterqr'
  2. version '1.0-SNAPSHOT'
  3. buildscript {
  4. ext.kotlin_version = '1.5.31'
  5. repositories {
  6. google()
  7. mavenCentral()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:7.0.2'
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. }
  13. }
  14. rootProject.allprojects {
  15. repositories {
  16. google()
  17. mavenCentral()
  18. }
  19. }
  20. apply plugin: 'com.android.library'
  21. apply plugin: 'kotlin-android'
  22. android {
  23. compileSdkVersion 30
  24. sourceSets {
  25. main.java.srcDirs += 'src/main/kotlin'
  26. }
  27. defaultConfig {
  28. // minSdkVersion is determined by Native View.
  29. minSdkVersion 20
  30. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  31. multiDexEnabled true
  32. }
  33. compileOptions {
  34. // Flag to enable support for the new language APIs
  35. coreLibraryDesugaringEnabled true
  36. // Sets Java compatibility to Java 8
  37. sourceCompatibility JavaVersion.VERSION_1_8
  38. targetCompatibility JavaVersion.VERSION_1_8
  39. }
  40. }
  41. dependencies {
  42. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  43. implementation('com.journeyapps:zxing-android-embedded:4.2.0') { transitive = false }
  44. implementation 'androidx.appcompat:appcompat:1.3.0'
  45. implementation 'com.google.zxing:core:3.3.3'
  46. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
  47. }