diff --git a/src/main/kotlin/us/ihmc/build/IHMCBuildPlugin.kt b/src/main/kotlin/us/ihmc/build/IHMCBuildPlugin.kt index 549c71f1..94559f9e 100644 --- a/src/main/kotlin/us/ihmc/build/IHMCBuildPlugin.kt +++ b/src/main/kotlin/us/ihmc/build/IHMCBuildPlugin.kt @@ -18,8 +18,6 @@ import us.ihmc.ci.IHMCCIPlugin class IHMCBuildPlugin : Plugin { - val ciPlugin: IHMCCIPlugin = IHMCCIPlugin() - override fun apply(project: Project) { project.extensions.add("app", AppExtension(project)) @@ -126,6 +124,11 @@ class IHMCBuildPlugin : Plugin IHMCBuildTools.defineDynamicCompositeTask(project) - ciPlugin.apply(project); + // Apply old ihmc-ci plugin functionality + if (!project.hasProperty("isProjectGroup")) + { + val ciPlugin = IHMCCIPlugin() + ciPlugin.apply(project); + } } } \ No newline at end of file