You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2019/06/02 15:39:18 UTC
[lucene-solr] 03/05: SOLR-13452: Rename git clean task to
pristineClean.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch jira/SOLR-13452_gradle_3
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit 1eae2c6594ddd9084223af8efaa95dccb7bb5092
Author: markrmiller <ma...@apache.org>
AuthorDate: Sun Jun 2 09:31:44 2019 -0500
SOLR-13452: Rename git clean task to pristineClean.
---
build.gradle | 4 +---
.../lucene/gradle/{PristineCheckout.groovy => PristineClean.groovy} | 6 +++---
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/build.gradle b/build.gradle
index 46b90ff..34712ee 100644
--- a/build.gradle
+++ b/build.gradle
@@ -141,9 +141,7 @@ configure(rootProject) {
description = "Show the slowest tests (averages)."
}
- task pristineCheckout(type: org.apache.lucene.gradle.PristineCheckout) {
-
- }
+ task pristineClean(type: org.apache.lucene.gradle.PristineClean) {}
}
diff --git a/buildSrc/src/main/groovy/org/apache/lucene/gradle/PristineCheckout.groovy b/buildSrc/src/main/groovy/org/apache/lucene/gradle/PristineClean.groovy
similarity index 88%
rename from buildSrc/src/main/groovy/org/apache/lucene/gradle/PristineCheckout.groovy
rename to buildSrc/src/main/groovy/org/apache/lucene/gradle/PristineClean.groovy
index a1f9572..619082c 100644
--- a/buildSrc/src/main/groovy/org/apache/lucene/gradle/PristineCheckout.groovy
+++ b/buildSrc/src/main/groovy/org/apache/lucene/gradle/PristineClean.groovy
@@ -28,12 +28,12 @@ import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction
-class PristineCheckout extends DefaultTask {
+class PristineClean extends DefaultTask {
- PristineCheckout() {
+ PristineClean() {
this.group = 'Build'
- this.description = "Cleans the checkout for a pristine state (WARNING: the ultimate clean task - removes all files unknown by or ignored by git: git clean -d -x -f!)."
+ this.description = "Cleans the checkout for a pristine local state (WARNING: the ultimate clean task - removes all files unknown by or ignored by git: git clean -d -x -f!)."
}
@TaskAction