From 1e0ae9d5e34f199b4c9199cb6512c13ea941b4f3 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 27 May 2021 12:07:35 -0700 Subject: [PATCH] Make PRODUCTION_RUNTIME_CLASSPATH_NAME public Change `SpringBootPlugin.PRODUCTION_RUNTIME_CLASSPATH_NAME` from package private to public so that it can be accessed in user build scripts. Fixes gh-26686 --- .../boot/gradle/plugin/SpringBootPlugin.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java index 26178f9c0b24..8ed61fd06120 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java @@ -76,7 +76,11 @@ public class SpringBootPlugin implements Plugin { */ public static final String DEVELOPMENT_ONLY_CONFIGURATION_NAME = "developmentOnly"; - static final String PRODUCTION_RUNTIME_CLASSPATH_NAME = "productionRuntimeClasspath"; + /** + * The name of the {@code productionRuntimeClasspath} configuration. + * @since 2.4.7 + */ + public static final String PRODUCTION_RUNTIME_CLASSPATH_NAME = "productionRuntimeClasspath"; /** * The coordinates {@code (group:name:version)} of the