|
|
|
@@ -2,14 +2,14 @@ group 'net.touchcapture.qr.flutterqr' |
|
|
|
version '1.0-SNAPSHOT' |
|
|
|
|
|
|
|
buildscript { |
|
|
|
ext.kotlin_version = '1.4.30' |
|
|
|
ext.kotlin_version = '1.5.10' |
|
|
|
repositories { |
|
|
|
google() |
|
|
|
jcenter() |
|
|
|
mavenCentral() |
|
|
|
} |
|
|
|
|
|
|
|
dependencies { |
|
|
|
classpath 'com.android.tools.build:gradle:4.1.2' |
|
|
|
classpath 'com.android.tools.build:gradle:4.2.1' |
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
|
|
|
} |
|
|
|
} |
|
|
|
@@ -17,19 +17,16 @@ buildscript { |
|
|
|
rootProject.allprojects { |
|
|
|
repositories { |
|
|
|
google() |
|
|
|
jcenter() |
|
|
|
mavenCentral() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
apply plugin: 'com.android.library' |
|
|
|
apply plugin: 'kotlin-android' |
|
|
|
apply plugin: 'kotlin-android-extensions' |
|
|
|
apply plugin: 'kotlin-kapt' |
|
|
|
|
|
|
|
android { |
|
|
|
compileSdkVersion 30 |
|
|
|
|
|
|
|
|
|
|
|
sourceSets { |
|
|
|
main.java.srcDirs += 'src/main/kotlin' |
|
|
|
} |
|
|
|
@@ -38,17 +35,15 @@ android { |
|
|
|
minSdkVersion 20 |
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
|
|
|
} |
|
|
|
lintOptions { |
|
|
|
disable 'InvalidPackage' |
|
|
|
buildFeatures { |
|
|
|
viewBinding = true |
|
|
|
} |
|
|
|
|
|
|
|
aaptOptions.cruncherEnabled = false |
|
|
|
aaptOptions.useNewCruncher = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
dependencies { |
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
|
|
|
implementation('com.journeyapps:zxing-android-embedded:4.1.0') { transitive = false } |
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0' |
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.0' |
|
|
|
implementation 'com.google.zxing:core:3.3.0' |
|
|
|
} |