You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (Jira)" <ji...@apache.org> on 2019/10/28 17:17: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=16961260#comment-16961260 ] 

Luke Cwik commented on BEAM-8432:
---------------------------------

Should this also apply to the kotlin examples?

https://github.com/apache/beam/blob/686bfd25406e46eb862b4933fea3ca64f9b50fb0/examples/kotlin/build.gradle#L135

> 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)