diff --git a/build.gradle b/build.gradle index bc0d568..f2c3976 100644 --- a/build.gradle +++ b/build.gradle @@ -125,6 +125,12 @@ subprojects { subProject -> rootNode.children().each { root.append(it) } + + asNode().dependencies.'*'.findAll() { + it.scope.text() == 'runtime' && project.configurations.compile.allDependencies.find { dep -> + dep.name == it.artifactId.text() + } + }.each { it.scope*.value = 'compile'} } } }