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.
|
- group 'net.touchcapture.qr.flutterqr'
- version '1.0-SNAPSHOT'
-
- buildscript {
- ext.kotlin_version = '1.7.10'
- repositories {
- google()
- mavenCentral()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:7.2.2'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
- }
-
- rootProject.allprojects {
- repositories {
- google()
- mavenCentral()
- }
- }
-
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
-
- android {
- namespace 'net.touchcapture.qr.flutterqr'
- compileSdkVersion 32
-
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
- defaultConfig {
- // minSdkVersion is determined by Native View.
- minSdkVersion 20
- targetSdkVersion 32
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- multiDexEnabled true
- }
-
- compileOptions {
- // Flag to enable support for the new language APIs
- // coreLibraryDesugaringEnabled true
- // Sets Java compatibility to Java 8
- sourceCompatibility JavaVersion.VERSION_17
- targetCompatibility JavaVersion.VERSION_17
- }
- }
-
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation('com.journeyapps:zxing-android-embedded:4.3.0') { transitive = false }
- implementation 'androidx.appcompat:appcompat:1.4.2'
- implementation 'com.google.zxing:core:3.5.0'
- coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.2.0'
- }
|