Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Fix builds failing due to missing dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Jei committed Nov 4, 2022
1 parent c439bdf commit f099b35
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,17 @@ ext.libraries = [
allprojects {
group = project.ext["GROUP"]
version = project.ext["VERSION_NAME"]

configurations.all {
resolutionStrategy.eachDependency {
if (requested.group == "com.github.edrlab.nanohttpd" && requested.name == "nanohttpd") {
useTarget("com.github.readium.nanohttpd:nanohttpd:master-SNAPSHOT")
}
if (requested.group == "com.github.edrlab.nanohttpd" && requested.name == "nanohttpd-nanolets") {
useTarget("com.github.readium.nanohttpd:nanohttpd-nanolets:master-SNAPSHOT")
}
}
}
}

subprojects { project ->
Expand Down

0 comments on commit f099b35

Please sign in to comment.