Skip to content

Commit

Permalink
Merge pull request #8322 from geoand/#8220
Browse files Browse the repository at this point in the history
Fix case where kubernetes extension didn't work with Gradle
  • Loading branch information
geoand authored Apr 1, 2020
2 parents ee47633 + d0df252 commit a327a4b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
import io.quarkus.deployment.annotations.BuildProducer;
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.ApplicationInfoBuildItem;
import io.quarkus.deployment.builditem.ArchiveRootBuildItem;
import io.quarkus.deployment.builditem.FeatureBuildItem;
import io.quarkus.deployment.builditem.GeneratedFileSystemResourceBuildItem;
import io.quarkus.deployment.pkg.PackageConfig;
Expand Down Expand Up @@ -160,7 +159,6 @@ public List<KubernetesEnvBuildItem> createEnvVars(KubernetesConfig kubernetesCon

@BuildStep(onlyIf = IsNormal.class)
public void build(ApplicationInfoBuildItem applicationInfo,
ArchiveRootBuildItem archiveRoot,
OutputTargetBuildItem outputTarget,
PackageConfig packageConfig,
KubernetesConfig kubernetesConfig,
Expand Down Expand Up @@ -196,7 +194,7 @@ public void build(ApplicationInfoBuildItem applicationInfo,
.map(KubernetesDeploymentTargetBuildItem::getName)
.collect(Collectors.toSet());

Path artifactPath = archiveRoot.getArchiveRoot().resolve(
Path artifactPath = outputTarget.getOutputDirectory().resolve(
String.format(OUTPUT_ARTIFACT_FORMAT, outputTarget.getBaseName(), packageConfig.runnerSuffix));

final Map<String, String> generatedResourcesMap;
Expand Down

0 comments on commit a327a4b

Please sign in to comment.