Skip to content
Merged
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
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ kotlinx-serialization-json = "1.4.1"

pdfium = "1.8.2"
pdf-viewer = "2.8.2"
photoview = "2.3.0"
picasso = "2.71828"
pspdfkit = "8.4.1"

Expand Down Expand Up @@ -125,7 +124,6 @@ kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-

pdfium = { group = "com.github.barteksc", name = "pdfium-android", version.ref="pdfium" }
pdf-viewer = { group = "com.github.barteksc", name ="android-pdf-viewer", version.ref="pdf-viewer" }
photoview = { group = "com.github.chrisbanes", name = "PhotoView", version.ref = "photoview" }
picasso = { group = "com.squareup.picasso", name = "picasso", version.ref = "picasso" }
pspdfkit = { group = "com.pspdfkit", name = "pspdfkit", version.ref ="pspdfkit" }

Expand Down
2 changes: 0 additions & 2 deletions readium/adapters/pdfium/pdfium-document/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

api(project(":readium:readium-shared"))

implementation(libs.androidx.core)
Expand Down
2 changes: 0 additions & 2 deletions readium/adapters/pdfium/pdfium-navigator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

api(project(":readium:readium-shared"))
api(project(":readium:readium-navigator"))
api(project(":readium:adapters:pdfium:readium-adapter-pdfium-document"))
Expand Down
2 changes: 0 additions & 2 deletions readium/adapters/pspdfkit/pspdfkit-document/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

api(project(":readium:readium-shared"))

implementation(libs.androidx.core)
Expand Down
2 changes: 0 additions & 2 deletions readium/adapters/pspdfkit/pspdfkit-navigator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

api(project(":readium:readium-shared"))
api(project(":readium:readium-navigator"))
api(project(":readium:adapters:pspdfkit:readium-adapter-pspdfkit-document"))
Expand Down
2 changes: 0 additions & 2 deletions readium/lcp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

implementation(libs.kotlinx.coroutines.core)

api(project(":readium:readium-shared"))
Expand Down
2 changes: 0 additions & 2 deletions readium/navigator-media2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

api(project(":readium:readium-shared"))
api(project(":readium:readium-navigator"))

Expand Down
6 changes: 2 additions & 4 deletions readium/navigator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

api(project(":readium:readium-shared"))

implementation(files("libs/PhotoView-2.3.0.jar"))

implementation(libs.androidx.activity.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.browser)
Expand All @@ -85,8 +85,6 @@ dependencies {
implementation(libs.androidx.webkit)
// Needed to avoid a crash with API 31, see https://stackoverflow.com/a/69152986/1474476
implementation("androidx.work:work-runtime-ktx:2.7.1")
// ChrisBane/PhotoView ( for the Zoom handling )
implementation(libs.photoview)

implementation(libs.bundles.media2)
// ExoPlayer is used by the Audio Navigator.
Expand Down
Binary file added readium/navigator/libs/PhotoView-2.3.0.jar
Binary file not shown.
2 changes: 0 additions & 2 deletions readium/opds/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

api(project(":readium:readium-shared"))

implementation(libs.androidx.appcompat)
Expand Down
2 changes: 0 additions & 2 deletions readium/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

implementation(libs.androidx.appcompat)
implementation(libs.androidx.browser)
implementation("com.github.kittinunf.fuel:fuel-android:2.3.1")
Expand Down
10 changes: 2 additions & 8 deletions readium/streamer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,13 @@ publishing {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

api(project(":readium:readium-shared"))

api(files("libs/nanohttpd-2.3.2.jar", "libs/nanohttpd-nanolets-2.3.2.jar"))

implementation(libs.androidx.appcompat)
@Suppress("GradleDependency")
implementation(libs.timber)
api("com.github.readium.nanohttpd:nanohttpd:master-SNAPSHOT") {
exclude(group = "org.parboiled")
}
api("com.github.readium.nanohttpd:nanohttpd-nanolets:master-SNAPSHOT") {
exclude(group = "org.parboiled")
}
// AM NOTE: conflicting support libraries, excluding these
implementation("com.mcxiaoke.koi:core:0.5.5") {
exclude(module = "support-v4")
Expand Down
Binary file added readium/streamer/libs/nanohttpd-2.3.2.jar
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ pluginManagement {
mavenLocal()
mavenCentral()
maven(url = "https://jcenter.bintray.com")
maven(url = "https://jitpack.io")
maven(url = "https://s3.amazonaws.com/repo.commonsware.com")
}

Expand All @@ -34,7 +33,6 @@ dependencyResolutionManagement {
mavenLocal()
mavenCentral()
maven(url = "https://jcenter.bintray.com")
maven(url = "https://jitpack.io")
maven(url = "https://s3.amazonaws.com/repo.commonsware.com")
maven(url = "https://customers.pspdfkit.com/maven")
}
Expand Down
1 change: 0 additions & 1 deletion test-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ android {
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation(libs.kotlin.stdlib)
implementation(libs.androidx.legacy.v4)

Expand Down