mirror of
https://github.com/simplezhli/flutter_barcode_reader.git
synced 2024-11-15 01:29:19 +08:00
14a744d0af
Android: Kotlin Package: `com.apptreesoftware.barcodescan` -> `de.mintware.barcode_scan` Manifest-Package: `com.yourcompany.barcodescan` -> `de.mintware.barcodescan` Activity: `com.apptreesoftware.barcodescan.BarcodeScannerActivity` -> `de.mintware.barcode_scan.BarcodeScannerActivity` iOS: Bundle ID: `com.apptreesoftware.barcode.plugin.example` -> `de.mintware.barcode_scan.plugin.example` Flutter: Method channel: `com.apptreesoftware.barcode_scan` -> `de.mintware.barcode_scan` pubspec.yaml: - homepage updated - deprecated author entry removed - comments removed - flutter.plugin.androidPackage: `com.apptreesoftware.barcode_scan` -> `de.mintware.barcode_scan` README.md updated and UPGRADE.md added
52 lines
1.1 KiB
Groovy
52 lines
1.1 KiB
Groovy
package android
|
|
|
|
group 'de.mintware.barcode_scan'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.5.0'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61"
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
lintOptions {
|
|
disable 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50'
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.13'
|
|
api 'com.google.android.material:material:1.0.0'
|
|
}
|