Skip to content

Commit d312903

Browse files
authored
Fix broken dependency to NanoHTTPD (#288)
1 parent 540c80f commit d312903

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ All notable changes to this project will be documented in this file. Take a look
44

55
**Warning:** Features marked as *experimental* may change or be removed in a future release without notice. Use with caution.
66

7-
<!--## [Unreleased]-->
7+
## [Unreleased]
8+
9+
### Fixed
10+
11+
#### Streamer
12+
13+
* [#286](https://github.com/readium/kotlin-toolkit/issues/286) Fixed broken dependency to NanoHTTPD.
14+
815

916
## [2.2.0]
1017

readium/streamer/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ dependencies {
6161
@Suppress("GradleDependency")
6262
implementation("com.github.barteksc:pdfium-android:1.8.2")
6363
implementation("com.jakewharton.timber:timber:5.0.1")
64-
implementation("com.github.edrlab.nanohttpd:nanohttpd:master-SNAPSHOT") {
64+
api("com.github.readium.nanohttpd:nanohttpd:master-SNAPSHOT") {
6565
exclude(group = "org.parboiled")
6666
}
67-
implementation("com.github.edrlab.nanohttpd:nanohttpd-nanolets:master-SNAPSHOT") {
67+
api("com.github.readium.nanohttpd:nanohttpd-nanolets:master-SNAPSHOT") {
6868
exclude(group = "org.parboiled")
6969
}
7070
//AM NOTE: conflicting support libraries, excluding these

test-app/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ dependencies {
8787
implementation("androidx.recyclerview:recyclerview:1.2.1")
8888
implementation("androidx.viewpager2:viewpager2:1.0.0")
8989
implementation("androidx.webkit:webkit:1.4.0")
90-
implementation("com.github.edrlab.nanohttpd:nanohttpd:master-SNAPSHOT") {
91-
exclude(group = "org.parboiled")
92-
}
93-
implementation("com.github.edrlab.nanohttpd:nanohttpd-nanolets:master-SNAPSHOT") {
94-
exclude(group = "org.parboiled")
95-
}
9690
implementation("com.google.android.material:material:1.5.0")
9791
implementation("com.jakewharton.timber:timber:5.0.1")
9892
// AM NOTE: needs to stay this version for now (June 24,2020)

0 commit comments

Comments
 (0)