diff --git a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowApplicationPlugin.groovy b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowApplicationPlugin.groovy index a3a6c56ee..ef83ff3b5 100644 --- a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowApplicationPlugin.groovy +++ b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowApplicationPlugin.groovy @@ -21,9 +21,9 @@ import org.gradle.jvm.toolchain.JavaToolchainService class ShadowApplicationPlugin implements Plugin { - static final String SHADOW_RUN_TASK_NAME = 'runShadow' - static final String SHADOW_SCRIPTS_TASK_NAME = 'startShadowScripts' - static final String SHADOW_INSTALL_TASK_NAME = 'installShadowDist' + public static final String SHADOW_RUN_TASK_NAME = 'runShadow' + public static final String SHADOW_SCRIPTS_TASK_NAME = 'startShadowScripts' + public static final String SHADOW_INSTALL_TASK_NAME = 'installShadowDist' private Project project private ApplicationPluginConvention pluginConvention diff --git a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy index 7a4e0aad9..795afbee5 100644 --- a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy +++ b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowBasePlugin.groovy @@ -8,8 +8,8 @@ import org.gradle.util.GradleVersion class ShadowBasePlugin implements Plugin { - static final String EXTENSION_NAME = 'shadow' - static final String CONFIGURATION_NAME = 'shadow' + public static final String EXTENSION_NAME = 'shadow' + public static final String CONFIGURATION_NAME = 'shadow' @Override void apply(Project project) { diff --git a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowJavaPlugin.groovy b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowJavaPlugin.groovy index 0970fe068..3123bca5e 100644 --- a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowJavaPlugin.groovy +++ b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowJavaPlugin.groovy @@ -15,8 +15,8 @@ import javax.inject.Inject class ShadowJavaPlugin implements Plugin { - static final String SHADOW_JAR_TASK_NAME = 'shadowJar' - static final String SHADOW_GROUP = 'Shadow' + public static final String SHADOW_JAR_TASK_NAME = 'shadowJar' + public static final String SHADOW_GROUP = 'Shadow' private final ProjectConfigurationActionContainer configurationActionContainer; diff --git a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/KnowsTask.groovy b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/KnowsTask.groovy index e476c726c..4a103ffe0 100644 --- a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/KnowsTask.groovy +++ b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/KnowsTask.groovy @@ -6,8 +6,8 @@ import org.gradle.api.tasks.TaskAction class KnowsTask extends DefaultTask { - static final String NAME = "knows" - static final String DESC = "Do you know who knows?" + public static final String NAME = "knows" + public static final String DESC = "Do you know who knows?" @TaskAction def knows() { diff --git a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/ComponentsXmlResourceTransformer.groovy b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/ComponentsXmlResourceTransformer.groovy index 9bf2c815b..0c91e8fb9 100644 --- a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/ComponentsXmlResourceTransformer.groovy +++ b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/ComponentsXmlResourceTransformer.groovy @@ -42,7 +42,7 @@ import org.gradle.api.file.FileTreeElement class ComponentsXmlResourceTransformer implements Transformer { private Map components = new LinkedHashMap() - static final String COMPONENTS_XML_PATH = "META-INF/plexus/components.xml" + public static final String COMPONENTS_XML_PATH = "META-INF/plexus/components.xml" boolean canTransformResource(FileTreeElement element) { def path = element.relativePath.pathString diff --git a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/XmlAppendingTransformer.groovy b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/XmlAppendingTransformer.groovy index 092472c0a..9bcf1deca 100644 --- a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/XmlAppendingTransformer.groovy +++ b/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/XmlAppendingTransformer.groovy @@ -45,7 +45,7 @@ import org.xml.sax.SAXException */ @CacheableTransformer class XmlAppendingTransformer implements Transformer { - static final String XSI_NS = "http://www.w3.org/2001/XMLSchema-instance" + public static final String XSI_NS = "http://www.w3.org/2001/XMLSchema-instance" @Input boolean ignoreDtd = true diff --git a/src/test/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/ManifestAppenderTransformerTest.groovy b/src/test/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/ManifestAppenderTransformerTest.groovy index d3d41d516..316248f0d 100644 --- a/src/test/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/ManifestAppenderTransformerTest.groovy +++ b/src/test/groovy/com/github/jengelman/gradle/plugins/shadow/transformers/ManifestAppenderTransformerTest.groovy @@ -34,7 +34,7 @@ import static org.junit.Assert.* * Test for {@link ManifestAppenderTransformer}. */ class ManifestAppenderTransformerTest extends TransformerTestSupport { - static final String MANIFEST_NAME = "META-INF/MANIFEST.MF" + public static final String MANIFEST_NAME = "META-INF/MANIFEST.MF" private ManifestAppenderTransformer transformer diff --git a/src/test/groovy/com/github/jengelman/gradle/plugins/shadow/util/PluginSpecification.groovy b/src/test/groovy/com/github/jengelman/gradle/plugins/shadow/util/PluginSpecification.groovy index 81ec812b0..102a1d200 100644 --- a/src/test/groovy/com/github/jengelman/gradle/plugins/shadow/util/PluginSpecification.groovy +++ b/src/test/groovy/com/github/jengelman/gradle/plugins/shadow/util/PluginSpecification.groovy @@ -16,7 +16,7 @@ class PluginSpecification extends Specification { @Rule TemporaryFolder dir - static final String SHADOW_VERSION = PluginSpecification.classLoader.getResource("shadow-version.txt").text.trim() + public static final String SHADOW_VERSION = PluginSpecification.classLoader.getResource("shadow-version.txt").text.trim() AppendableMavenFileRepository repo