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
0f5ca030
Commit
0f5ca030
authored
Mar 18, 2020
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish "Add Java 14 CI"
See gh-20413
parent
961611aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
GradleCompatibilityExtension.java
...ework/boot/gradle/junit/GradleCompatibilityExtension.java
+4
-1
SpringBootPluginIntegrationTests.java
.../boot/gradle/plugin/SpringBootPluginIntegrationTests.java
+1
-0
No files found.
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilityExtension.java
View file @
0f5ca030
...
@@ -42,7 +42,10 @@ public final class GradleCompatibilityExtension implements TestTemplateInvocatio
...
@@ -42,7 +42,10 @@ public final class GradleCompatibilityExtension implements TestTemplateInvocatio
private
static
final
List
<
String
>
GRADLE_VERSIONS
;
private
static
final
List
<
String
>
GRADLE_VERSIONS
;
static
{
static
{
if
(
JavaVersion
.
current
().
isCompatibleWith
(
JavaVersion
.
VERSION_13
))
{
if
(
JavaVersion
.
current
().
isCompatibleWith
(
JavaVersion
.
VERSION_14
))
{
GRADLE_VERSIONS
=
Arrays
.
asList
(
"default"
);
}
else
if
(
JavaVersion
.
current
().
isCompatibleWith
(
JavaVersion
.
VERSION_13
))
{
GRADLE_VERSIONS
=
Arrays
.
asList
(
"6.0.1"
,
"6.1.1"
,
"6.2.2"
,
"default"
);
GRADLE_VERSIONS
=
Arrays
.
asList
(
"6.0.1"
,
"6.1.1"
,
"6.2.2"
,
"default"
);
}
}
else
{
else
{
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/SpringBootPluginIntegrationTests.java
View file @
0f5ca030
...
@@ -40,6 +40,7 @@ class SpringBootPluginIntegrationTests {
...
@@ -40,6 +40,7 @@ class SpringBootPluginIntegrationTests {
final
GradleBuild
gradleBuild
=
new
GradleBuild
();
final
GradleBuild
gradleBuild
=
new
GradleBuild
();
@DisabledForJreRange
(
min
=
JRE
.
JAVA_14
)
@Test
@Test
void
failFastWithVersionOfGradleLowerThanRequired
()
{
void
failFastWithVersionOfGradleLowerThanRequired
()
{
BuildResult
result
=
this
.
gradleBuild
.
gradleVersion
(
"5.5.1"
).
buildAndFail
();
BuildResult
result
=
this
.
gradleBuild
.
gradleVersion
(
"5.5.1"
).
buildAndFail
();
...
...
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