2020-02-20 06:19:14 +08:00
|
|
|
package android
|
|
|
|
|
|
|
|
group 'de.mintware.barcode_scan'
|
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-08-27 11:51:15 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.5.0'
|
2020-02-20 06:19:14 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61"
|
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 {
|
2019-08-27 11:51:15 +08:00
|
|
|
compileSdkVersion 29
|
2017-10-30 01:05:11 +08:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 16
|
2019-08-27 11:51:15 +08:00
|
|
|
targetSdkVersion 29
|
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-02-28 17:43:57 +08:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
2019-08-27 11:51:15 +08:00
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50'
|
2019-03-04 22:43:33 +08:00
|
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.13'
|
2019-02-28 17:43:57 +08:00
|
|
|
api 'com.google.android.material:material:1.0.0'
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|