apply plugin: 'java' sourceCompatibility = 1.7 dependencies { compile project(":mybatis-plus-core") compile rootProject.ext.dependencies["mybatis-spring"] compile rootProject.ext.dependencies["mybatis"] provided rootProject.ext.dependencies["spring-context-support"] provided rootProject.ext.dependencies["spring-jdbc"] testCompile 'junit:junit:4.12' }