* What went wrong:
A problem occurred evaluating script.
> Could not set unknown property 'springTestVersion' for root project 'wx-core-o' of type org.gradle.api.Project.
allprojects {
springTestVersion = "4.1.0.RELEASE"
......
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile "org.springframework:spring-test:$springTestVersion"
已经搞定,在自定义属性需要添加ext前缀