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.
 
 
 
 
 
 

57 lignes
1.5 KiB

  1. group 'net.touchcapture.qr.flutterqr'
  2. version '1.0-SNAPSHOT'
  3. buildscript {
  4. ext.kotlin_version = '1.6.10'
  5. repositories {
  6. google()
  7. mavenCentral()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:7.1.1'
  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 31
  24. sourceSets {
  25. main.java.srcDirs += 'src/main/kotlin'
  26. }
  27. defaultConfig {
  28. // minSdkVersion is determined by Native View.
  29. minSdkVersion 20
  30. targetSdkVersion 31
  31. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  32. multiDexEnabled true
  33. }
  34. compileOptions {
  35. // Flag to enable support for the new language APIs
  36. coreLibraryDesugaringEnabled true
  37. // Sets Java compatibility to Java 8
  38. sourceCompatibility JavaVersion.VERSION_1_8
  39. targetCompatibility JavaVersion.VERSION_1_8
  40. }
  41. }
  42. dependencies {
  43. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  44. implementation('com.journeyapps:zxing-android-embedded:4.3.0') { transitive = false }
  45. implementation 'androidx.appcompat:appcompat:1.3.1'
  46. implementation 'com.google.zxing:core:3.4.1'
  47. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
  48. }