2018-04-16 05:08:45 +08:00
|
|
|
group 'com.apptreesoftware.barcodescan'
|
2017-10-30 01:05:11 +08:00
|
|
|
version '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
2019-01-31 07:29:39 +08:00
|
|
|
google()
|
2019-03-04 22:43:33 +08:00
|
|
|
jcenter()
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-02-28 17:43:57 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.3.1'
|
2019-08-15 16:09:44 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.41"
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2019-01-31 07:29:39 +08:00
|
|
|
google()
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
2018-08-10 05:21:26 +08:00
|
|
|
compileSdkVersion 28
|
2017-10-30 01:05:11 +08:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 16
|
2018-08-10 05:21:26 +08:00
|
|
|
targetSdkVersion 28
|
2017-10-30 01:05:11 +08:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
2019-01-31 07:29:39 +08:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable 'InvalidPackage'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-08-15 16:09:44 +08:00
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.41'
|
2019-03-04 22:43:33 +08:00
|
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.13'
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|