The QR Code Scanner package for Appeto SDK.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 rivejä
1.5 KiB

  1. group 'net.touchcapture.qr.flutterqr'
  2. version '1.0-SNAPSHOT'
  3. buildscript {
  4. ext.kotlin_version = '1.5.10'
  5. repositories {
  6. google()
  7. mavenCentral()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:4.2.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 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. buildFeatures {
  34. viewBinding = true
  35. }
  36. compileOptions {
  37. // Flag to enable support for the new language APIs
  38. coreLibraryDesugaringEnabled true
  39. // Sets Java compatibility to Java 8
  40. sourceCompatibility JavaVersion.VERSION_1_8
  41. targetCompatibility JavaVersion.VERSION_1_8
  42. }
  43. }
  44. dependencies {
  45. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  46. implementation('com.journeyapps:zxing-android-embedded:4.2.0') { transitive = false }
  47. implementation 'androidx.appcompat:appcompat:1.3.0'
  48. implementation 'com.google.zxing:core:3.3.0'
  49. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
  50. }