2017-10-30 01:05:11 +08:00
|
|
|
group 'com.apptreesoftware.barcodescan'
|
|
|
|
version '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url "https://maven.google.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.android.tools.build:gradle:2.3.3'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url "https://maven.google.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 25
|
|
|
|
buildToolsVersion '25.0.3'
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 16
|
|
|
|
targetSdkVersion 25
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable 'InvalidPackage'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.2-4'
|
2017-10-30 04:09:37 +08:00
|
|
|
compile 'me.dm7.barcodescanner:zxing:1.9.8'
|
2017-10-30 01:05:11 +08:00
|
|
|
compile 'com.android.support:design:25.4.0'
|
|
|
|
}
|