2016-06-29 15:31:04 +00:00
|
|
|
apply plugin: 'com.android.library'
|
2020-11-17 23:42:36 +00:00
|
|
|
apply plugin: 'kotlin-android'
|
2016-06-29 15:31:04 +00:00
|
|
|
|
|
|
|
android {
|
2020-12-29 21:00:39 +00:00
|
|
|
compileSdkVersion 30
|
2016-06-29 15:31:04 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2020-11-12 18:19:18 +00:00
|
|
|
minSdkVersion 23
|
2019-11-26 10:32:28 +00:00
|
|
|
targetSdkVersion 28
|
2016-06-29 15:31:04 +00:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
ndk {
|
2020-12-29 21:00:39 +00:00
|
|
|
abiFilters "arm64-v8a", "x86"
|
2016-06-29 15:31:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
2018-03-22 08:30:58 +00:00
|
|
|
warning 'InvalidPackage'
|
2018-03-21 13:27:52 +00:00
|
|
|
}
|
2016-06-29 15:31:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-04-03 14:02:23 +00:00
|
|
|
implementation 'com.facebook.react:react-native:+'
|
2020-11-12 18:19:18 +00:00
|
|
|
implementation 'com.google.zxing:core:3.3.3'
|
2019-11-26 10:32:28 +00:00
|
|
|
implementation group: 'com.drewnoakes', name: 'metadata-extractor', version: '2.12.0'
|
2020-11-17 23:42:36 +00:00
|
|
|
implementation "androidx.core:core-ktx:+"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
|
2021-01-04 05:18:54 +00:00
|
|
|
implementation "androidx.camera:camera-core:1.0.0-rc01"
|
|
|
|
implementation "androidx.camera:camera-camera2:1.0.0-rc01"
|
|
|
|
implementation "androidx.camera:camera-lifecycle:1.0.0-rc01"
|
|
|
|
implementation "androidx.camera:camera-view:1.0.0-alpha20"
|
2020-11-17 23:42:36 +00:00
|
|
|
|
|
|
|
implementation 'com.google.mlkit:barcode-scanning:16.0.3'
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2018-10-22 07:57:22 +00:00
|
|
|
}
|