mirror of
https://github.com/simplezhli/flutter_barcode_reader.git
synced 2024-11-15 09:59:23 +08:00
471f6c4a7e
Configuration 'compile' in project ':barcode_scan' is deprecated. Use 'implementation' instead. According to : https://github.com/apptreesoftware/flutter_barcode_reader/issues/11
54 lines
1.1 KiB
Groovy
54 lines
1.1 KiB
Groovy
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'
|
|
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.2-4'
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
jcenter()
|
|
maven {
|
|
url "https://maven.google.com"
|
|
}
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
buildToolsVersion '27.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 {
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.2-4'
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
|
|
implementation 'com.android.support:design:27.1.1'
|
|
}
|