flutter_barcode_reader/android/build.gradle

50 lines
1.0 KiB
Groovy
Raw 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-08-27 11:51:15 +08:00
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50"
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 {
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"
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'
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
}