group 'mybatis' version '1.0-SNAPSHOT' apply plugin: 'groovy' apply plugin: 'maven' apply plugin: 'java' apply plugin: 'war' sourceCompatibility = 1.8 targetCompatibility = 1.8 repositories { mavenCentral() } repositories { maven { url "http://maven.petrikainulainen.net/repo" } } dependencies { compile 'org.codehaus.groovy:groovy-all:2.3.11' compile 'log4j:log4j:1.2.17' compile 'MySQL:mysql-connector-java:6.0.2' testCompile group: 'junit', name: 'junit', version: '4.11' }