Made plugin validating task incubating
I think it needs some work to support unconventional naming of our plugins. When ran against Shipkit, this task shows many false positives. Let's improve it in the future and for now mark it as incubating.
package org.shipkit.internal.gradle.plugin;
import org.gradle.api.DefaultTask;
-import org.gradle.api.tasks.*;
+import org.gradle.api.tasks.Input;
+import org.gradle.api.tasks.SourceSet;
+import org.gradle.api.tasks.TaskAction;
+import org.shipkit.internal.util.IncubatingWarning;
import java.io.File;
import java.util.Set;
@@ -21,6 +24,7 @@ public class PluginValidatorTask extends DefaultTask {
@TaskAction
public void validate() {
+ IncubatingWarning.warn("PluginValidatorTask");
Set<File> gradlePlugins = PluginUtil.discoverGradlePlugins(sourceSet);
Set<File> gradleProperties = PluginUtil.discoverGradlePluginPropertyFiles(sourceSet);
new PluginValidator().validate(gradlePlugins, gradleProperties);
