Skip to content

Commit

Permalink
Only apply ihmc-ci plugin if not a project group
Browse files Browse the repository at this point in the history
  • Loading branch information
ds58 authored and calvertdw committed Sep 27, 2024
1 parent ef4fc0f commit 6b261a7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/main/kotlin/us/ihmc/build/IHMCBuildPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import us.ihmc.ci.IHMCCIPlugin

class IHMCBuildPlugin : Plugin<Project>
{
val ciPlugin: IHMCCIPlugin = IHMCCIPlugin()

override fun apply(project: Project)
{
project.extensions.add("app", AppExtension(project))
Expand Down Expand Up @@ -126,6 +124,11 @@ class IHMCBuildPlugin : Plugin<Project>

IHMCBuildTools.defineDynamicCompositeTask(project)

ciPlugin.apply(project);
// Apply old ihmc-ci plugin functionality
if (!project.hasProperty("isProjectGroup"))
{
val ciPlugin = IHMCCIPlugin()
ciPlugin.apply(project);
}
}
}

0 comments on commit 6b261a7

Please sign in to comment.