apply plugin: 'java'

task show << {
    sourceSets.main.output.classesDir = new File(buildDir, 'output/classes')
    sourceSets.main.output.resourcesDir = new File(buildDir, 'output/resources')

    println relativePath(compileJava.destinationDir)
    println relativePath(processResources.destinationDir)
}
