Gradle Netbenas project - dependencies problem - gradle ver 2.5

build.gradle

apply plugin: 'java'

sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

if (!hasProperty('mainClass')) {
    ext.mainClass = ''
}


repositories {
    maven {
     url "http://download.osgeo.org/webdav/geotools/"
   }
mavenCentral()
}    

dependencies {

compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.3'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.3'

compile group: 'org.geotools', name: 'gt-referencing', version: '13.2'

testCompile group: 'junit', name: 'junit', version: '4.10'
}

stacktrace