group 'com.rover12421' version '1.0' apply plugin: 'java' apply plugin: 'idea' apply plugin: "eu.appsatori.fatjar" project.sourceCompatibility = '1.6' //project.targetCompatibility = langLevel idea { project { languageLevel = '1.6' } } repositories { mavenCentral() } buildscript { repositories { jcenter() } tasks.withType(JavaCompile) { options.encoding = "UTF-8" options.incremental = true } dependencies { classpath 'eu.appsatori:gradle-fatjar-plugin:0.3' } } gradle.taskGraph.whenReady { fatJar { manifest { attributes("Premain-Class": "com.rover12421.crack.jerbrains.v2.Agent") } } } task wrapper(type: Wrapper) { gradleVersion = '2.5' } dependencies { // compile 'org.ow2.asm:asm:5.0.4', // 'org.ow2.asm:asm-commons:5.0.4' }