diff --git a/initializr-generator-spring/src/main/java/io/spring/initializr/generator/spring/build/gradle/GradleProjectGenerationConfiguration.java b/initializr-generator-spring/src/main/java/io/spring/initializr/generator/spring/build/gradle/GradleProjectGenerationConfiguration.java index d585317995..4cd4b9ae8b 100644 --- a/initializr-generator-spring/src/main/java/io/spring/initializr/generator/spring/build/gradle/GradleProjectGenerationConfiguration.java +++ b/initializr-generator-spring/src/main/java/io/spring/initializr/generator/spring/build/gradle/GradleProjectGenerationConfiguration.java @@ -136,6 +136,8 @@ public GradleBuildProjectContributor gradleKtsBuildProjectContributor(KotlinDslG /** * Configuration specific to projects using Gradle 6. + * + * @deprecated Gradle 6 support is deprecated */ @Configuration @ConditionalOnGradleVersion("6") diff --git a/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/ConditionalOnGradleVersionTests.java b/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/ConditionalOnGradleVersionTests.java index affac2f7e5..f80293c6d2 100644 --- a/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/ConditionalOnGradleVersionTests.java +++ b/initializr-generator-spring/src/test/java/io/spring/initializr/generator/spring/build/gradle/ConditionalOnGradleVersionTests.java @@ -31,7 +31,7 @@ * * @author Stephane Nicoll */ -public class ConditionalOnGradleVersionTests { +class ConditionalOnGradleVersionTests { private final ProjectAssetTester projectTester = new ProjectAssetTester() .withConfiguration(GradleVersionTestConfiguration.class); diff --git a/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/gradle/GradleTaskTests.java b/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/gradle/GradleTaskTests.java index 1e5f820785..bdf6b234ba 100644 --- a/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/gradle/GradleTaskTests.java +++ b/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/gradle/GradleTaskTests.java @@ -27,7 +27,7 @@ * @author Stephane Nicoll */ @SuppressWarnings("removal") -public class GradleTaskTests { +class GradleTaskTests { @Test void attributeSetHasSensibleToString() { diff --git a/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenPluginContainerTests.java b/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenPluginContainerTests.java index d7288a672c..4722539da4 100644 --- a/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenPluginContainerTests.java +++ b/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenPluginContainerTests.java @@ -26,7 +26,7 @@ * @author HaiTao Zhang * @author Stephane Nicoll */ -public class MavenPluginContainerTests { +class MavenPluginContainerTests { @Test void addPlugin() { diff --git a/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenProfileActivationTests.java b/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenProfileActivationTests.java index 57d494e37b..5767d82dbc 100644 --- a/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenProfileActivationTests.java +++ b/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenProfileActivationTests.java @@ -25,7 +25,7 @@ /** * Tests for {@link MavenProfileActivation}. */ -public class MavenProfileActivationTests { +class MavenProfileActivationTests { @Test void profileWithNoActivation() { diff --git a/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenScmTests.java b/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenScmTests.java index 738624c33c..c78dfe0b90 100644 --- a/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenScmTests.java +++ b/initializr-generator/src/test/java/io/spring/initializr/generator/buildsystem/maven/MavenScmTests.java @@ -25,7 +25,7 @@ * * @author Joachim Pasquali */ -public class MavenScmTests { +class MavenScmTests { @Test void isEmptyWithNoData() { diff --git a/initializr-generator/src/test/java/io/spring/initializr/generator/project/ProjectGeneratorTests.java b/initializr-generator/src/test/java/io/spring/initializr/generator/project/ProjectGeneratorTests.java index eb581da43f..abf738f5d9 100644 --- a/initializr-generator/src/test/java/io/spring/initializr/generator/project/ProjectGeneratorTests.java +++ b/initializr-generator/src/test/java/io/spring/initializr/generator/project/ProjectGeneratorTests.java @@ -46,7 +46,7 @@ * * @author Stephane Nicoll */ -public class ProjectGeneratorTests { +class ProjectGeneratorTests { @Test void generateRegisterProjectDescription() { diff --git a/initializr-web/src/test/java/io/spring/initializr/web/controller/CommandLineMetadataControllerIntegrationTests.java b/initializr-web/src/test/java/io/spring/initializr/web/controller/CommandLineMetadataControllerIntegrationTests.java index 546bf4024b..d3f0534d91 100644 --- a/initializr-web/src/test/java/io/spring/initializr/web/controller/CommandLineMetadataControllerIntegrationTests.java +++ b/initializr-web/src/test/java/io/spring/initializr/web/controller/CommandLineMetadataControllerIntegrationTests.java @@ -33,7 +33,7 @@ * @author Stephane Nicoll */ @ActiveProfiles("test-default") -public class CommandLineMetadataControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests { +class CommandLineMetadataControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests { @Test void curlReceivesTextByDefault() { diff --git a/initializr-web/src/test/java/io/spring/initializr/web/controller/CommandLineMetadataControllerSslIntegrationTests.java b/initializr-web/src/test/java/io/spring/initializr/web/controller/CommandLineMetadataControllerSslIntegrationTests.java index 48a115b2f2..e3b75d3612 100644 --- a/initializr-web/src/test/java/io/spring/initializr/web/controller/CommandLineMetadataControllerSslIntegrationTests.java +++ b/initializr-web/src/test/java/io/spring/initializr/web/controller/CommandLineMetadataControllerSslIntegrationTests.java @@ -31,7 +31,7 @@ * @author Stephane Nicoll */ @ActiveProfiles({ "test-default", "test-ssl" }) -public class CommandLineMetadataControllerSslIntegrationTests extends AbstractInitializrControllerIntegrationTests { +class CommandLineMetadataControllerSslIntegrationTests extends AbstractInitializrControllerIntegrationTests { @Test void forceSsl() { diff --git a/initializr-web/src/test/java/io/spring/initializr/web/controller/ProjectGenerationControllerArchiveIntegrationTests.java b/initializr-web/src/test/java/io/spring/initializr/web/controller/ProjectGenerationControllerArchiveIntegrationTests.java index aee397621f..eb8ddea7c1 100644 --- a/initializr-web/src/test/java/io/spring/initializr/web/controller/ProjectGenerationControllerArchiveIntegrationTests.java +++ b/initializr-web/src/test/java/io/spring/initializr/web/controller/ProjectGenerationControllerArchiveIntegrationTests.java @@ -28,7 +28,7 @@ * @author HaiTao Zhang */ @ActiveProfiles("test-default") -public class ProjectGenerationControllerArchiveIntegrationTests extends AbstractFullStackInitializrIntegrationTests { +class ProjectGenerationControllerArchiveIntegrationTests extends AbstractFullStackInitializrIntegrationTests { @Test void baseDirectorySeparatedBySpace() { diff --git a/initializr-web/src/test/java/io/spring/initializr/web/controller/ProjectMetadataControllerIntegrationTests.java b/initializr-web/src/test/java/io/spring/initializr/web/controller/ProjectMetadataControllerIntegrationTests.java index d3567f0afa..905af80fbf 100644 --- a/initializr-web/src/test/java/io/spring/initializr/web/controller/ProjectMetadataControllerIntegrationTests.java +++ b/initializr-web/src/test/java/io/spring/initializr/web/controller/ProjectMetadataControllerIntegrationTests.java @@ -37,7 +37,7 @@ * @author Stephane Nicoll */ @ActiveProfiles("test-default") -public class ProjectMetadataControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests { +class ProjectMetadataControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests { @Test void metadataWithNoAcceptHeader() { diff --git a/initializr-web/src/test/java/io/spring/initializr/web/controller/SpringCliDistributionControllerCustomEnvsIntegrationTests.java b/initializr-web/src/test/java/io/spring/initializr/web/controller/SpringCliDistributionControllerCustomEnvsIntegrationTests.java index af5cd5d9e4..9045bbffea 100644 --- a/initializr-web/src/test/java/io/spring/initializr/web/controller/SpringCliDistributionControllerCustomEnvsIntegrationTests.java +++ b/initializr-web/src/test/java/io/spring/initializr/web/controller/SpringCliDistributionControllerCustomEnvsIntegrationTests.java @@ -33,8 +33,7 @@ * @author Stephane Nicoll */ @ActiveProfiles({ "test-default", "test-custom-env" }) -public class SpringCliDistributionControllerCustomEnvsIntegrationTests - extends AbstractInitializrControllerIntegrationTests { +class SpringCliDistributionControllerCustomEnvsIntegrationTests extends AbstractInitializrControllerIntegrationTests { @Test void downloadCliWithCustomRepository() throws Exception { diff --git a/initializr-web/src/test/java/io/spring/initializr/web/controller/SpringCliDistributionControllerIntegrationTests.java b/initializr-web/src/test/java/io/spring/initializr/web/controller/SpringCliDistributionControllerIntegrationTests.java index e6a1fcac91..196b785eba 100644 --- a/initializr-web/src/test/java/io/spring/initializr/web/controller/SpringCliDistributionControllerIntegrationTests.java +++ b/initializr-web/src/test/java/io/spring/initializr/web/controller/SpringCliDistributionControllerIntegrationTests.java @@ -34,7 +34,7 @@ * @author Stephane Nicoll */ @ActiveProfiles("test-default") -public class SpringCliDistributionControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests { +class SpringCliDistributionControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests { @Test void downloadCli() throws Exception { diff --git a/initializr-web/src/test/java/io/spring/initializr/web/project/ProjectGenerationInvokerTests.java b/initializr-web/src/test/java/io/spring/initializr/web/project/ProjectGenerationInvokerTests.java index bec8707714..38302dc1f2 100644 --- a/initializr-web/src/test/java/io/spring/initializr/web/project/ProjectGenerationInvokerTests.java +++ b/initializr-web/src/test/java/io/spring/initializr/web/project/ProjectGenerationInvokerTests.java @@ -59,7 +59,7 @@ * * @author Madhura Bhave */ -public class ProjectGenerationInvokerTests { +class ProjectGenerationInvokerTests { private static final InitializrMetadata metadata = InitializrMetadataTestBuilder.withDefaults().build(); diff --git a/pom.xml b/pom.xml index 1dd3ca73ca..c7666705c9 100644 --- a/pom.xml +++ b/pom.xml @@ -89,7 +89,7 @@ - 0.0.42 + 0.0.43 0.0.11