Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ android {
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
packaging.resources {
excludes.addAll(listOf("META-INF/LICENSE*", "META-INF/versions/9/OSGI-INF/MANIFEST*"))
excludes.addAll(listOf("META-INF/LICENSE*", "META-INF/versions/9/OSGI-INF/MANIFEST*", "META-INF/DEPENDENCIES"))
pickFirsts.add("MANIFEST.MF") // workaround for duplicated manifest on some dependencies
}

Expand Down Expand Up @@ -428,10 +428,11 @@ dependencies {
implementation(libs.emoji.google)
// endregion

// NextCloud scan is not required in NMC
// region AppScan, document scanner not available on FDroid (generic) due to OpenCV binaries
"gplayImplementation"(project(":appscan"))
"huaweiImplementation"(project(":appscan"))
"qaImplementation"(project(":appscan"))
// "gplayImplementation"(project(":appscan"))
// "huaweiImplementation"(project(":appscan"))
// "qaImplementation"(project(":appscan"))
// endregion

// region SpotBugs
Expand Down Expand Up @@ -518,6 +519,15 @@ dependencies {
implementation(libs.coil)
// endregion

// region scanbot sdk
// scanbot sdk: https://github.com/doo/scanbot-sdk-example-android
implementation(libs.scanbot.sdk)
// apache pdf-box for encrypting pdf files
implementation("org.apache.pdfbox:pdfbox:2.0.1") {
exclude(group = "commons-logging")
}
// endregion

// kotlinx.serialization
implementation(libs.kotlinx.serialization.json)
}
Loading