gradle学习 发表于 2018-01-26 maven repository http://maven.aliyun.com/nexus/content/groups/public 12345repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }} spring mvc 配置 1234567891011dependencies { //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'} 欢迎您扫一扫上面的二维码,订阅我的从不更新的公众号! 坚持原创技术分享,您的支持将鼓励我继续创作! 打赏 微信支付 支付宝