diff --git a/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestBuildScanConfiguration.java b/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestBuildScanConfiguration.java index 829fe52..307c8ea 100644 --- a/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestBuildScanConfiguration.java +++ b/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestBuildScanConfiguration.java @@ -38,7 +38,7 @@ * * @author Andy Wilkinson */ -public final class TestBuildScanConfiguration implements BuildScanConfiguration { +class TestBuildScanConfiguration implements BuildScanConfiguration { final TestBuildScanDataObfuscation obfuscation = new TestBuildScanDataObfuscation(); diff --git a/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestProcessRunner.java b/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestProcessRunner.java index cf2e6d5..38c491d 100644 --- a/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestProcessRunner.java +++ b/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestProcessRunner.java @@ -34,7 +34,7 @@ * * @author Andy Wilkinson */ -final class TestProcessRunner implements ProcessRunner { +class TestProcessRunner implements ProcessRunner { final Map, String> commandLineOutput = new HashMap<>(); diff --git a/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestProperty.java b/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestProperty.java index e48a43b..23ada9d 100644 --- a/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestProperty.java +++ b/develocity-conventions-gradle-plugin/src/test/java/io/spring/develocity/conventions/gradle/TestProperty.java @@ -26,7 +26,7 @@ * @param type of the value of the property * @author Andy Wilkinson */ -public class TestProperty implements Property { +class TestProperty implements Property { private T value; diff --git a/develocity-conventions-maven-extension/src/main/java/io/spring/develocity/conventions/maven/ConventionsDevelocityListener.java b/develocity-conventions-maven-extension/src/main/java/io/spring/develocity/conventions/maven/ConventionsDevelocityListener.java index 4575361..b17e552 100644 --- a/develocity-conventions-maven-extension/src/main/java/io/spring/develocity/conventions/maven/ConventionsDevelocityListener.java +++ b/develocity-conventions-maven-extension/src/main/java/io/spring/develocity/conventions/maven/ConventionsDevelocityListener.java @@ -31,7 +31,7 @@ */ @Component(role = DevelocityListener.class, hint = "convention-develocity-maven-extension", description = "Develocity conventions Maven extension") -public final class ConventionsDevelocityListener implements DevelocityListener { +public class ConventionsDevelocityListener implements DevelocityListener { @Override public void configure(DevelocityApi develocity, MavenSession MavenSession) throws Exception { diff --git a/develocity-conventions-maven-extension/src/main/java/io/spring/develocity/conventions/maven/MavenConfigurableBuildScan.java b/develocity-conventions-maven-extension/src/main/java/io/spring/develocity/conventions/maven/MavenConfigurableBuildScan.java index ea736d9..678cd6b 100644 --- a/develocity-conventions-maven-extension/src/main/java/io/spring/develocity/conventions/maven/MavenConfigurableBuildScan.java +++ b/develocity-conventions-maven-extension/src/main/java/io/spring/develocity/conventions/maven/MavenConfigurableBuildScan.java @@ -25,6 +25,11 @@ import com.gradle.develocity.agent.maven.api.scan.BuildScanPublishing.PublishingContext; import io.spring.develocity.conventions.core.ConfigurableBuildScan; +/** + * {@link ConfigurableBuildScan} for Maven builds. + * + * @author Andy Wilkinson + */ class MavenConfigurableBuildScan implements ConfigurableBuildScan { private final BuildScanApi buildScan; diff --git a/develocity-conventions-maven-extension/src/test/java/io/spring/develocity/conventions/maven/MavenConfigurableBuildScanTests.java b/develocity-conventions-maven-extension/src/test/java/io/spring/develocity/conventions/maven/MavenConfigurableBuildScanTests.java index e5a387e..2be3e1b 100644 --- a/develocity-conventions-maven-extension/src/test/java/io/spring/develocity/conventions/maven/MavenConfigurableBuildScanTests.java +++ b/develocity-conventions-maven-extension/src/test/java/io/spring/develocity/conventions/maven/MavenConfigurableBuildScanTests.java @@ -49,7 +49,7 @@ * * @author Andy Wilkinson */ -public class MavenConfigurableBuildScanTests { +class MavenConfigurableBuildScanTests { private final TestBuildScanApi buildScanApi = new TestBuildScanApi();