snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Gradle fast-jar is not recreated when using clean #153

Closed snowdrop-bot closed 4 years ago

snowdrop-bot commented 4 years ago

Describe the bug When I was using fast-jar I noticed, that fast jar is not recreated if you call gradle clean quarkusBuild two times in a row. Task :quarkusBuild is reported as up to date the second time.

Expected behavior Fast jar is recreated if it is not present in build/quarkus-app directory

Actual behavior There is no Fast jar in build/ directory (there is no build/quarkus-app directory) after second call.

To Reproduce Steps to reproduce the behavior:

  1. git clone git@github.com:asodja/quarkus-clean-fast-jar-reproducer.git
  2. run gradle clean quarkusBuild --info: fast jar is created
  3. run gradle clean quarkusBuild --info again: there is no fast jar in build/, quarkusBuild is reported up-to-date
  4. remove .gradle folder in the project and run 2-3. again to reproduce the behaviour

Configuration

quarkus.package.type=fast-jar

Environment (please complete the following information):


https://github.com/quarkusio/quarkus/issues/11157


$upstream:11157$