Lukasz Gajowy created BEAM-8432:
-----------------------------------
Summary: 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
Fix For: Not applicable
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)