group 'SmartVenue' version '1.0-SNAPSHOT' apply plugin: 'java' sourceCompatibility = 1.8 repositories { //mavenCentral() maven { url 'https://maven.aliyun.com/repository/public' } } dependencies { testCompile group: 'junit', name: 'junit', version: '4.12' } tasks.withType(JavaCompile) { options.encoding = "UTF-8" }