diff --git a/misk-admin/build.gradle.kts b/misk-admin/build.gradle.kts index 2999b49b07..df5f66c430 100644 --- a/misk-admin/build.gradle.kts +++ b/misk-admin/build.gradle.kts @@ -185,10 +185,10 @@ if (isCi || System.getProperty("misk.admin.buildMiskWeb") == "true") { tasks.register("buildAndCopyWebActions") { from({ - project(":misk-admin:web-actions").tasks.named("build").get().outputs.files + project(":misk-admin:web-actions").tasks.named("buildWebActionsTab").get().outputs.files }) into(project.layout.buildDirectory.dir("resources/main/web/_tab/web-actions-v4")) - dependsOn(":misk-admin:web-actions:build") + dependsOn(":misk-admin:web-actions:buildWebActionsTab") } sourceSets { diff --git a/misk-admin/web-actions/build.gradle.kts b/misk-admin/web-actions/build.gradle.kts index ce6871c22f..1d9816cb0b 100644 --- a/misk-admin/web-actions/build.gradle.kts +++ b/misk-admin/web-actions/build.gradle.kts @@ -1,16 +1,8 @@ import java.io.InputStream -plugins { - -} - -dependencies { - -} - -tasks.register("build") { +tasks.register("buildWebActionsTab") { group = "build" - description = "Run webpack build for misk console" + description = "Run webpack build for misk web actions" miskConsoleRootDir.set(projectDir) @@ -31,7 +23,7 @@ tasks.register("build") { } @CacheableTask -abstract class MiskConsoleBuildTask : DefaultTask() { +abstract class WebActionsTabBuildTask : DefaultTask() { @get:Internal abstract val miskConsoleRootDir: RegularFileProperty