configurations {
    compile
}
dependencies {
    compile 'test:unknownProjectA:1.2'
    compile 'test:unknownProjectB:2.1.5'
}

defaultTasks 'listJars'

task listJars << {
    configurations.compile.resolve()
    throw new RuntimeException("Should not reach here")
}