1. 在Spring源码项目中右键,新建一个Module模块, 在弹窗中选择Gradle, 并且勾选Java和Web
2. 选择根目录并输入ArtifactId,点击确定
3. 项目构建
3.1 配置build.gradle
plugins {
id 'java'
id 'war'
}
group 'org.springframework'
version '5.0.16.BUILD-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile(project(":spring-beans"))
compile(project(":sprin