diff --git a/java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/analyser/build/gradle/GradleUtils.java b/java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/analyser/build/gradle/GradleUtils.java index 584612ae9..5e01f59ba 100644 --- a/java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/analyser/build/gradle/GradleUtils.java +++ b/java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/analyser/build/gradle/GradleUtils.java @@ -54,12 +54,12 @@ public final class GradleUtils { /** * Default Gradle arguments. */ - public static final List DEFAULT_GRADLE_ARGS = List.of("build", "publishToMavenLocal"); + public static final List DEFAULT_GRADLE_ARGS = List.of("assemble", "publishToMavenLocal"); /** * Gradle arguments if 'maven' plugin is detected. */ - public static final List MAVEN_PLUGIN_GRADLE_ARGS = List.of("build", "uploadArchives"); + public static final List MAVEN_PLUGIN_GRADLE_ARGS = List.of("assemble", "uploadArchives"); private GradleUtils() {