1
- # Spring Framework build
1
+ # Spring Framework Build
2
2
3
3
This folder contains the custom plugins and conventions for the Spring Framework build.
4
4
They are declared in the ` build.gradle ` file in this folder.
@@ -7,8 +7,8 @@ They are declared in the `build.gradle` file in this folder.
7
7
8
8
### Compiler conventions
9
9
10
- The ` org.springframework.build.compile ` applies the Java compiler conventions to the build.
11
- By default, the build is compiling sources with the ` 1.8 ` source and target compatibility.
10
+ The ` org.springframework.build.compile ` plubin applies the Java compiler conventions to the build.
11
+ By default, the build compiles sources with Java ` 1.8 ` source and target compatibility.
12
12
You can test a different source compatibility version on the CLI with a project property like:
13
13
14
14
```
@@ -25,17 +25,11 @@ but doesn't affect the classpath of dependent projects.
25
25
This plugin does not provide a ` provided ` configuration, as the native ` compileOnly ` and ` testCompileOnly `
26
26
configurations are preferred.
27
27
28
- ## Test sources
29
-
30
- The ` org.springframework.build.test-sources ` updates ` testCompile ` dependencies to include
31
- the test source sets of ` project() ` dependencies. This plugin is used in the Spring Framework build
32
- to share test utilities and fixtures amongst modules.
33
-
34
28
## API Diff
35
29
36
30
This plugin uses the [ Gradle JApiCmp] ( https://github.com/melix/japicmp-gradle-plugin ) plugin
37
31
to generate API Diff reports for each Spring Framework module. This plugin is applied once on the root
38
- project and create tasks in each framework module. Unlike previous versions of this part of the build,
32
+ project and creates tasks in each framework module. Unlike previous versions of this part of the build,
39
33
there is no need for checking out a specific tag. The plugin will fetch the JARs we want to compare the
40
34
current working version with. You can generate the reports for all modules or a single module:
41
35
@@ -44,4 +38,4 @@ current working version with. You can generate the reports for all modules or a
44
38
./gradlew :spring-core:apiDiff -PbaselineVersion=5.1.0.RELEASE
45
39
```
46
40
47
- The reports are located under ` build/reports/api-diff/$OLDVERSION_to_$NEWVERSION/ ` .
41
+ The reports are located under ` build/reports/api-diff/$OLDVERSION_to_$NEWVERSION/ ` .
0 commit comments