File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/main/groovy/com/marklogic/gradle/task Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11plugins {
2- id " com.marklogic.ml-gradle" version " 3.6.0"
2+ id " net.saliman.properties" version " 1.5.1"
3+ id " com.marklogic.ml-gradle" version " 4.3.4"
34}
45
56/*
Original file line number Diff line number Diff line change 11package com.marklogic.gradle.task
22
3+ import org.gradle.api.tasks.Input
4+ import org.gradle.api.tasks.Optional
35import org.gradle.api.tasks.TaskAction
46
57class DeleteModuleTimestampsFileTask extends MarkLogicTask {
68
9+ @Input
10+ @Optional
11+ String filePath;
12+
713 @TaskAction
814 void deleteFile () {
9- String filePath = getAppConfig(). getModuleTimestampsPath()
15+ filePath = getAppConfig(). getModuleTimestampsPath()
1016 File f = new File (filePath)
1117 if (f. exists()) {
1218 println " Deleting " + f. getAbsolutePath() + " \n "
You can’t perform that action at this time.
0 commit comments