You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafu.apache.org by mh...@apache.org on 2018/01/29 20:27:33 UTC
[4/8] incubator-datafu git commit: Fix minor indentation issues
Fix minor indentation issues
Project: http://git-wip-us.apache.org/repos/asf/incubator-datafu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-datafu/commit/b52b1fe7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-datafu/tree/b52b1fe7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-datafu/diff/b52b1fe7
Branch: refs/heads/master
Commit: b52b1fe782f30dac917042a08f677c87003c731d
Parents: 42378d0
Author: Matthew Hayes <mh...@apache.org>
Authored: Thu Jan 18 15:24:34 2018 -0800
Committer: Matthew Hayes <mh...@apache.org>
Committed: Thu Jan 18 15:24:34 2018 -0800
----------------------------------------------------------------------
gradle/release.gradle | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/b52b1fe7/gradle/release.gradle
----------------------------------------------------------------------
diff --git a/gradle/release.gradle b/gradle/release.gradle
index 3573c82..89db97d 100644
--- a/gradle/release.gradle
+++ b/gradle/release.gradle
@@ -35,10 +35,10 @@ if (!isRelease) {
task prepare_release_config(type: Copy) {
from "$rootDir/gradle.properties"
- // there is a bug in Gradle on Windows that prevents copy tasks from copying into the same folder.
- // Therefore, we copy to a temporary dir, and use the copy method (which doesn't have this bug)
- // to copy back into rootDir so the Windows build works, even though this is ugly.
- // https://discuss.gradle.org/t/error-with-a-copy-task-on-windows/1803
+ // There is a bug in Gradle on Windows that prevents copy tasks from copying into the same folder.
+ // Therefore, we copy to a temporary dir, and use the copy method (which doesn't have this bug)
+ // to copy back into rootDir so the Windows build works, even though this is ugly.
+ // https://discuss.gradle.org/t/error-with-a-copy-task-on-windows/1803
into temporaryDir
rename { filename ->
filename + ".release" }
@@ -50,13 +50,13 @@ task prepare_release_config(type: Copy) {
line
}
}
- doLast {
- copy {
- from temporaryDir
- into "$rootDir"
- include 'gradle.properties.release'
- }
- }
+ doLast {
+ copy {
+ from temporaryDir
+ into "$rootDir"
+ include 'gradle.properties.release'
+ }
+ }
}
task sourceRelease(type: Tar, dependsOn: prepare_release_config) {