Skip to content

Commit 8bef1ad

Browse files
committed
TODO: add warning that custom steps require Gradle 8.0+
1 parent 116124d commit 8bef1ad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/BumpThisNumberIfACustomStepChangesTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2021 DiffPlug
2+
* Copyright 2016-2024 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,9 +17,14 @@
1717

1818
import java.io.IOException;
1919

20+
import org.gradle.testkit.runner.GradleRunner;
2021
import org.junit.jupiter.api.Test;
2122

2223
class BumpThisNumberIfACustomStepChangesTest extends GradleIntegrationHarness {
24+
@Override
25+
protected GradleRunner gradleRunner() throws IOException {
26+
return super.gradleRunner().withGradleVersion("8.0");
27+
}
2328

2429
private void writeBuildFile(String toInsert) throws IOException {
2530
setFile("build.gradle").toLines(

0 commit comments

Comments
 (0)