You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2017/01/13 15:58:15 UTC
[02/22] groovy git commit: minor refactor
minor refactor
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/a19feb7d
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/a19feb7d
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/a19feb7d
Branch: refs/heads/parrot
Commit: a19feb7d310bb86b925e1d092af28ad00dceee6c
Parents: 370df79
Author: paulk <pa...@asert.com.au>
Authored: Thu Dec 29 18:29:45 2016 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Thu Dec 29 18:29:45 2016 +1000
----------------------------------------------------------------------
build.gradle | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/a19feb7d/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 9ed8d26..a23496b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -467,7 +467,9 @@ compileTestGroovy {
// TODO superfluous to check for JDK7 for Gradle version 3.2+ but leave for future?
task checkCompatibility {
- assert JavaVersion.current().java7Compatible
+ doLast {
+ assert JavaVersion.current().java7Compatible
+ }
}
apply from: 'gradle/test.gradle'