gradle学习

maven repository

1
2
3
4
5
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public'
}
}

spring mvc 配置

1
2
3
4
5
6
7
8
9
10
11
dependencies {
//Version
def springVersion = "4.3.7.RELEASE"
def mybatisVersion = "3.4.2"

// https://mvnrepository.com/artifact/org.springframework/spring-webmvc
compile group: 'org.springframework', name: 'spring-webmvc', version: '$springVersion'
// https://mvnrepository.com/artifact/org.mybatis/mybatis
compile group: 'org.mybatis', name: 'mybatis', version: '$mybatisVersion'
testCompile group: 'junit', name: 'junit', version: '4.12'
}

Critas wechat
欢迎您扫一扫上面的二维码,订阅我的从不更新的公众号!
坚持原创技术分享,您的支持将鼓励我继续创作!