[ https://issues.apache.org/jira/browse/BEAM-9555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía resolved BEAM-9555. -------------------------------- Fix Version/s: Not applicable Resolution: Duplicate Beam currently does not support gradle 6. WIP is part of BEAM-9456. Please follow that ticket for more info or in case you want to contribute to it. > Kotlin example incompatible with Gradle 6 > ----------------------------------------- > > Key: BEAM-9555 > URL: https://issues.apache.org/jira/browse/BEAM-9555 > Project: Beam > Issue Type: Bug > Components: examples-java > Reporter: Xuebing Li > Priority: Major > Fix For: Not applicable > > > When compiling Kotlin example with Gradle 6, the following error appears. > Note the "What went wrong" section. > {noformat} > $ gradle build > Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be > reused, use --status for details > > Task :buildSrc:spotlessGroovy FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':buildSrc:spotlessGroovy'. > > You must declare outputs or use `TaskOutputs.upToDateWhen()` when using the > > incremental task API > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.2.2/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 4s > {noformat} > The cause is likely outdated version of spotless. [This GitHub > issue|https://github.com/diffplug/spotless/issues/440] mentions the exact > same error. > P.S. I chose _examples-java_ as this Jira issue's component because > _examples-kotlin_ is not an option. -- This message was sent by Atlassian Jira (v8.3.4#803005)