Spring5.2.x源码导入idea

官网

 https://spring.io/

https://github.com/spring-projects/spring-framework

注释掉

id 'io.spring.gradle-enterprise-conventions' version '0.0.2'

更改repositories

repositories {
        maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
        maven { url 'https://repo.spring.io/plugins-release' }
        maven { url "https://repo.spring.io/libs-spring-framework-build" }
        maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
        maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
        maven { url "https://plugins.gradle.org/m2/"}
    }

执行spring-oxm, spring-core (参考文件:import-into-eclipse.md)

$ gradle :spring-oxm:compileTestJava

或者选中项目,点击大象图标,输入命令: 

compileTestJava

 

上一篇:Global Search file content in Gitlab repositories, search across repositories, search across all fil


下一篇:【错误记录】Flutter 应用运行卡在 Running Gradle task ‘assembleDebug‘... ( 配置阿里云 Maven 仓库镜像 )