You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Lukasz Gajowy (Jira)" <ji...@apache.org> on 2019/11/04 18:09:00 UTC

[jira] [Commented] (BEAM-8432) Parametrize source & target compatibility for beam Java modules

    [ https://issues.apache.org/jira/browse/BEAM-8432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16966883#comment-16966883 ] 

Lukasz Gajowy commented on BEAM-8432:
-------------------------------------

I think you're right - I missed this one. Submitting PR...

> Parametrize source & target compatibility for beam Java modules
> ---------------------------------------------------------------
>
>                 Key: BEAM-8432
>                 URL: https://issues.apache.org/jira/browse/BEAM-8432
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system
>            Reporter: Lukasz Gajowy
>            Assignee: Lukasz Gajowy
>            Priority: Major
>             Fix For: Not applicable
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently, "javaVersion" property is hardcoded in BeamModulePlugin in [JavaNatureConfiguration|https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L82].
> For the sake of migrating the project to Java 11 we could use a mechanism that will allow parametrizing the version from the command line, e.g:
> {code:java}
> // this could set source and target compatibility to 11:
> ./gradlew clean build -PjavaVersion=11{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)