mirror of
https://github.com/simplezhli/flutter_barcode_reader.git
synced 2024-11-17 14:29:19 +08:00
49 lines
1006 B
Groovy
49 lines
1006 B
Groovy
group 'com.apptreesoftware.barcodescan'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.4.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.41"
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
lintOptions {
|
|
disable 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.41'
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.13'
|
|
implementation 'androidx.core:core:1.0.2'
|
|
}
|