htmlDependencyReport generates blank page if slash is used in project path

Hi all, I’ve found that when namespace (slash separator) is using instead of subproject (colon separator) it’s impossible to generate an appropriate HTML dependency report.

  • Gradle version: 2.2.1 * Steps to reproduce:

Create empty project with the basic code:


include 'namespace/project1'
include 'namespace/project2'


allprojects {
    apply plugin: 'java'
    apply plugin: 'project-report'
    dependencies {
        compile 'junit:junit:4.12'

Run build:

$ gradle projectReport
  Total time: 7.519 secs
  • Actual Results: blank dependency html page (only header is present) * Expected Results: dependency tree in the html report

Hey Slava, sorry for the late reply. I raised GRADLE-3251 for this issue. It seems the html dependency report doesn’t escape “/” as needed. Maybe you’re interested to help us fixing this issue and work on a pull request? If you need further guidance with the code-base that’s fine.

cheers, René