diff --git a/build.gradle b/build.gradle index 38e9959..3fb2bae 100644 --- a/build.gradle +++ b/build.gradle @@ -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 ->