automatically apply org.shipkit.java-library plugin for all java projects
@@ -50,6 +50,18 @@ public class ContinuousDeliveryPlugin implements Plugin<Project> {
project.getPlugins().apply(TravisPlugin.class);
project.getPlugins().apply(ReleaseNeededPlugin.class);
+ project.allprojects(new Action<Project>() {
+ @Override
+ public void execute(final Project project) {
+ project.getPlugins().withId("java", new Action<Plugin>() {
+ @Override
+ public void execute(Plugin plugin) {
+ project.getPlugins().apply(JavaLibraryPlugin.class);
+ }
+ });
+ }
+ });
+
project.allprojects(new Action<Project>() {
@Override
public void execute(final Project subproject) {
