The QR Code Scanner package for Appeto SDK.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

56 lignes
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.3'
  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.3.0') { transitive = false }
  44. implementation 'androidx.appcompat:appcompat:1.3.1'
  45. implementation 'com.google.zxing:core:3.4.1'
  46. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
  47. }