spring-framework 5.2.0源码导入idea

2021-03-13 10:41

阅读:532

标签:groups   adl   app   use   国内   命令   装包   -o   首页   

官方文档地址:spring-framework github首页


1. 修改国内镜像地址,以及避免gradle自动下载安装包 修改gradle/wrapper/gradle-wrapper.properties文件
distributionUrl=file:///Users/mico/gradle/gradle-5.6.4-bin.zip

修改build.gradle设置为阿里云镜像

buildscript {
	repositories {
		maven { url ‘http://maven.aliyun.com/nexus/content/groups/public/‘ }
		maven{ url ‘http://maven.aliyun.com/nexus/content/repositories/jcenter‘}
	}
}

configure(allprojects) {
      repositories {
            maven { url ‘http://maven.aliyun.com/nexus/content/groups/public/‘ }
	    maven{ url ‘http://maven.aliyun.com/nexus/content/repositories/jcenter‘}
	    mavenCentral()
	    maven { url "https://repo.spring.io/libs-spring-framework-build" }
	}
}
  1. 执行命令
./gradlew :spring-oxm:compileTestJava
  1. 导入IDEA
  2. 排除spring-aspects

spring-framework 5.2.0源码导入idea

标签:groups   adl   app   use   国内   命令   装包   -o   首页   

原文地址:https://www.cnblogs.com/fanxia/p/14057819.html


评论


亲,登录后才可以留言!