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 {
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url "https://maven.google.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-08-10 05:21:26 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.1.4'
|
|
|
|
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.51'
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url "https://maven.google.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
2018-08-10 05:21:26 +08:00
|
|
|
compileSdkVersion 28
|
2018-04-18 03:12:37 +08:00
|
|
|
buildToolsVersion '27.0.3'
|
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"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable 'InvalidPackage'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-08-10 05:21:26 +08:00
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.51'
|
2018-05-30 21:03:25 +08:00
|
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
|
2018-08-30 12:27:24 +08:00
|
|
|
api 'com.android.support:design:27.1.1'
|
2017-10-30 01:05:11 +08:00
|
|
|
}
|