Options

Gradle cache

Hi,

I would like to know, if it's possible to cache previous runs.

I'm thinking about something like:

inputs.files(fileTree("$projectDir/src/main/resources/db/migration"))
.withPropertyName("migrations")
.withPathSensitivity(PathSensitivity.RELATIVE)

If the migrations doesn't change, the task does not has to run again.

Thank you very much.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file