def springVersion = '5.2.9.RELEASE'
dependencies {
// 编译期
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
// 运行时
providedRuntime('javax.servlet:jstl:1.2')
compileOnly(group: 'org.springframework', name: 'spring-core', version: '$5.2.9.RELEASE')
compileOnly(
'org.springframework:spring-context:$5.2.9.RELEASE',
'org.springframework:spring-beans:$5.2.9.RELEASE',
'org.springframework:spring-context-support:$5.2.9.RELEASE',
'org.springframework:spring-web:$5.2.9.RELEASE',
'org.springframework:spring-webmvc:$5.2.9.RELEASE',
'org.springframework:spring-aop:$5.2.9.RELEASE',
'org.springframework:spring-tx:$5.2.9.RELEASE',
'org.springframework:spring-jdbc:$5.2.9.RELEASE',
'org.springframework:spring-test:$5.2.9.RELEASE',
'org.springframework:spring-context:$5.2.9.RELEASE',
)
}
}