Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zxing-cpp/wrappers/android/app/build.gradle.kts @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 plugins { | |
| 2 alias(libs.plugins.android.application) | |
| 3 alias(libs.plugins.kotlin.android) | |
| 4 } | |
| 5 | |
| 6 android { | |
| 7 namespace = "zxingcpp.app" | |
| 8 defaultConfig { | |
| 9 applicationId = "io.github.zxingcpp.app" | |
| 10 compileSdk = libs.versions.androidCompileSdk.get().toInt() | |
| 11 minSdk = 26 // for the adaptive icons. TODO: remove adaptive icons and lower to API 21 | |
| 12 targetSdk = libs.versions.androidTargetSdk.get().toInt() | |
| 13 versionCode = 1 | |
| 14 versionName = "1.0" | |
| 15 } | |
| 16 buildFeatures { | |
| 17 viewBinding = true | |
| 18 } | |
| 19 buildTypes { | |
| 20 release { | |
| 21 isMinifyEnabled = false | |
| 22 proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") | |
| 23 } | |
| 24 } | |
| 25 compileOptions { | |
| 26 sourceCompatibility = JavaVersion.VERSION_1_8 | |
| 27 targetCompatibility = JavaVersion.VERSION_1_8 | |
| 28 } | |
| 29 kotlinOptions { | |
| 30 jvmTarget = "1.8" | |
| 31 } | |
| 32 lint { | |
| 33 disable.add("UnsafeExperimentalUsageError") | |
| 34 } | |
| 35 } | |
| 36 | |
| 37 dependencies { | |
| 38 implementation(project(":zxingcpp")) | |
| 39 | |
| 40 implementation(libs.androidx.appcompat) | |
| 41 implementation(libs.androidx.constraintlayout) | |
| 42 implementation(libs.androidx.core) | |
| 43 implementation(libs.androidx.camera.camera2) | |
| 44 implementation(libs.androidx.camera.lifecycle) | |
| 45 implementation(libs.androidx.camera.view) | |
| 46 implementation(libs.android.material) | |
| 47 | |
| 48 // Java "upstream" version of zxing (to compare performance) | |
| 49 implementation(libs.zxing.core) | |
| 50 } |
