Skip to content
Unverified Commit a91b813e authored by david-perez's avatar david-perez Committed by GitHub
Browse files

Fix `modifyMtime` task when `generateSmithyBuild` task is up to date (#1471)

When `generateSmithyBuild` task is up to date, the hashes of the build
are not calculated, so `modifyMtime` fails, because it expects them to
be registered in Gradle's project properties. This can happen if you run
a command like `./gradlew codegen-server-test:test` twice consecutively.

In this case, we should skip the `modifyMtime` task altogether.
Everything is up to date, so no codegen will run, and no artifacts will
change.
parent 5af3b106
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment