Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
6aaf9f47
Commit
6aaf9f47
authored
Mar 06, 2021
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.4.x'
Closes gh-25524
parents
c007709b
8ac64827
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
ToolchainPlugin.java
...springframework/boot/build/toolchain/ToolchainPlugin.java
+2
-0
build.gradle
...ration-tests/spring-boot-launch-script-tests/build.gradle
+4
-0
build.gradle
...t-integration-tests/spring-boot-loader-tests/build.gradle
+4
-0
No files found.
buildSrc/src/main/java/org/springframework/boot/build/toolchain/ToolchainPlugin.java
View file @
6aaf9f47
...
@@ -22,6 +22,7 @@ import java.util.List;
...
@@ -22,6 +22,7 @@ import java.util.List;
import
org.gradle.api.Plugin
;
import
org.gradle.api.Plugin
;
import
org.gradle.api.Project
;
import
org.gradle.api.Project
;
import
org.gradle.api.plugins.JavaPluginExtension
;
import
org.gradle.api.plugins.JavaPluginExtension
;
import
org.gradle.api.tasks.GradleBuild
;
import
org.gradle.api.tasks.compile.JavaCompile
;
import
org.gradle.api.tasks.compile.JavaCompile
;
import
org.gradle.api.tasks.javadoc.Javadoc
;
import
org.gradle.api.tasks.javadoc.Javadoc
;
import
org.gradle.api.tasks.testing.Test
;
import
org.gradle.api.tasks.testing.Test
;
...
@@ -70,6 +71,7 @@ public class ToolchainPlugin implements Plugin<Project> {
...
@@ -70,6 +71,7 @@ public class ToolchainPlugin implements Plugin<Project> {
project
.
getTasks
().
withType
(
JavaCompile
.
class
,
(
task
)
->
task
.
setEnabled
(
false
));
project
.
getTasks
().
withType
(
JavaCompile
.
class
,
(
task
)
->
task
.
setEnabled
(
false
));
project
.
getTasks
().
withType
(
Javadoc
.
class
,
(
task
)
->
task
.
setEnabled
(
false
));
project
.
getTasks
().
withType
(
Javadoc
.
class
,
(
task
)
->
task
.
setEnabled
(
false
));
project
.
getTasks
().
withType
(
Test
.
class
,
(
task
)
->
task
.
setEnabled
(
false
));
project
.
getTasks
().
withType
(
Test
.
class
,
(
task
)
->
task
.
setEnabled
(
false
));
project
.
getTasks
().
withType
(
GradleBuild
.
class
,
(
task
)
->
task
.
setEnabled
(
false
));
}
}
private
void
configureJavaCompileToolchain
(
Project
project
,
ToolchainExtension
toolchain
)
{
private
void
configureJavaCompileToolchain
(
Project
project
,
ToolchainExtension
toolchain
)
{
...
...
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/build.gradle
View file @
6aaf9f47
...
@@ -6,6 +6,10 @@ plugins {
...
@@ -6,6 +6,10 @@ plugins {
description
=
"Spring Boot Launch Script Integration Tests"
description
=
"Spring Boot Launch Script Integration Tests"
toolchain
{
maximumCompatibleJavaVersion
=
JavaLanguageVersion
.
of
(
15
)
}
configurations
{
configurations
{
app
app
}
}
...
...
spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/build.gradle
View file @
6aaf9f47
...
@@ -6,6 +6,10 @@ plugins {
...
@@ -6,6 +6,10 @@ plugins {
description
=
"Spring Boot Loader Integration Tests"
description
=
"Spring Boot Loader Integration Tests"
toolchain
{
maximumCompatibleJavaVersion
=
JavaLanguageVersion
.
of
(
15
)
}
configurations
{
configurations
{
app
app
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment