build.gradle: minimal clean-up of checkCompatibility task
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/8ab83778 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/8ab83778 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/8ab83778 Branch: refs/heads/parrot Commit: 8ab8377825789bd6d3f44cb4baaaafb0e5bfda72 Parents: 7a03756 Author: pascalschumacher <[email protected]> Authored: Fri Apr 21 21:03:31 2017 +0200 Committer: pascalschumacher <[email protected]> Committed: Fri Apr 21 21:03:31 2017 +0200 ---------------------------------------------------------------------- build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/8ab83778/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index b5a5f74..0325f13 100644 --- a/build.gradle +++ b/build.gradle @@ -469,7 +469,6 @@ compileTestGroovy { groovyOptions.fork(memoryMaximumSize: groovycTest_mx) } -// TODO superfluous to check for JDK8 for Gradle version 3.2+ but leave for future? task checkCompatibility { doLast { assert JavaVersion.current().java8Compatible @@ -479,7 +478,7 @@ task checkCompatibility { if (!JavaVersion.current().java8Compatible) { logger.lifecycle ''' **************************************** WARNING ******************************************** - ****** You are running the build with an older JDK. NEVER try to release with 1.6. ****** + ****** You are running the build with an older JDK. NEVER try to release with 1.7. ****** ****** You must use a JDK 1.8+ in order to compile all features of the language. ****** ********************************************************************************************* '''
