Gradle cache
mrclrchtr
Posts: 1 New member
Hi,
I would like to know, if it's possible to cache previous runs.
I'm thinking about something like:
If the migrations doesn't change, the task does not has to run again.
Thank you very much.
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.