You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by cc...@apache.org on 2015/09/21 13:25:57 UTC
incubator-groovy git commit: Fix compilation of performance module
with indy
Repository: incubator-groovy
Updated Branches:
refs/heads/master e23533791 -> cfcbeed55
Fix compilation of performance module with indy
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/cfcbeed5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/cfcbeed5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/cfcbeed5
Branch: refs/heads/master
Commit: cfcbeed559fc9b808903daba06219772334dfb40
Parents: e235337
Author: Cedric Champeau <cc...@apache.org>
Authored: Mon Sep 21 13:25:23 2015 +0200
Committer: Cedric Champeau <cc...@apache.org>
Committed: Mon Sep 21 13:25:34 2015 +0200
----------------------------------------------------------------------
build.gradle | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/cfcbeed5/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 4f4dc16..793cea2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -426,8 +426,13 @@ allprojects {
targetCompatibility = 1.7
}
tasks.withType(JavaCompile) {
- sourceCompatibility = 1.7
- targetCompatibility = 1.7
+ if (project.name=='performance') {
+ sourceCompatibility = 1.8
+ targetCompatibility = 1.8
+ } else {
+ sourceCompatibility = 1.7
+ targetCompatibility = 1.7
+ }
}
jar {
classifier = 'indy'
Re: incubator-groovy git commit: Fix compilation of performance module with indy
Posted by Geoffrey Miller <mi...@gmail.com>.
Please unsubscribe me from this thread.
> On Sep 21, 2015, at 6:25 AM, cchampeau@apache.org wrote:
>
> Repository: incubator-groovy
> Updated Branches:
> refs/heads/master e23533791 -> cfcbeed55
>
>
> Fix compilation of performance module with indy
>
>
> Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
> Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/cfcbeed5
> Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/cfcbeed5
> Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/cfcbeed5
>
> Branch: refs/heads/master
> Commit: cfcbeed559fc9b808903daba06219772334dfb40
> Parents: e235337
> Author: Cedric Champeau <cc...@apache.org>
> Authored: Mon Sep 21 13:25:23 2015 +0200
> Committer: Cedric Champeau <cc...@apache.org>
> Committed: Mon Sep 21 13:25:34 2015 +0200
>
> ----------------------------------------------------------------------
> build.gradle | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/cfcbeed5/build.gradle
> ----------------------------------------------------------------------
> diff --git a/build.gradle b/build.gradle
> index 4f4dc16..793cea2 100644
> --- a/build.gradle
> +++ b/build.gradle
> @@ -426,8 +426,13 @@ allprojects {
> targetCompatibility = 1.7
> }
> tasks.withType(JavaCompile) {
> - sourceCompatibility = 1.7
> - targetCompatibility = 1.7
> + if (project.name=='performance') {
> + sourceCompatibility = 1.8
> + targetCompatibility = 1.8
> + } else {
> + sourceCompatibility = 1.7
> + targetCompatibility = 1.7
> + }
> }
> jar {
> classifier = 'indy'
>