1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26apply plugin: 'groovy' repositories { jcenter() } dependencies { compile gradleApi() compile localGroovy() testCompile('org.spockframework:spock-core:1.1-groovy-2.4') { exclude group: 'org.codehaus.groovy' compile "cglib:cglib-nodep:3.2.6" } } test { testLogging { events "failed" exceptionFormat "full" } } sourceCompatibility = '1.7' targetCompatibility = '1.7'