flutter_barcode_reader/android/build.gradle

49 lines
1006 B
Groovy
Raw Permalink Normal View History

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 {
google()
jcenter()
2017-10-30 01:05:11 +08:00
}
dependencies {
2019-12-20 15:18:16 +08:00
classpath 'com.android.tools.build:gradle:3.4.2'
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()
google()
2017-10-30 01:05:11 +08:00
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 28
2017-10-30 01:05:11 +08:00
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
2017-10-30 01:05:11 +08:00
versionCode 1
versionName "1.0"
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'
implementation 'me.dm7.barcodescanner:zxing:1.9.13'
2019-12-20 15:18:16 +08:00
implementation 'androidx.core:core:1.0.2'
2017-10-30 01:05:11 +08:00
}