apply plugin: 'java' sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 dependencies { compile 'org.ow2.asm:asm-debug-all:5.0.3' //compile files("${System.properties['java.home']}/../lib/tools.jar") //compile files("libs/tools.jar") }