You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/03/01 00:14:00 UTC

[jira] [Updated] (FLINK-34542) Improve Gradle Quick Start build.gradle with Better Gradle API Alternatives

     [ https://issues.apache.org/jira/browse/FLINK-34542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-34542:
-----------------------------------
    Labels: pull-request-available  (was: )

> Improve Gradle Quick Start build.gradle with Better Gradle API Alternatives
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-34542
>                 URL: https://issues.apache.org/jira/browse/FLINK-34542
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Lennon Yu
>            Priority: Minor
>              Labels: pull-request-available
>
> This is a ticket of misc. improvements on the build.gradle script provided at {{Application Development}} >> {{Project Configuration}} >> {{Overview}} >> {{Getting Started:}}
>  * Add {{mergeServiceFiles()}} call to the {{shadowJar}} configuration block
>  ** Absence of this will cause class-not-found errors in SPI related class loading if the user has multiple connectors/formats in their implementation.
>  * Move the top level {{mainClassName}} project property setting into application \{ mainClass = 'foo.Bar' }
>  ** This is because the top-level mainClassName property will be deprecated in Gradle 9.0+
>  * Replace the use of {{sourceCompatibility}} and {{targetCompatibility}} properties with java \{ toolChain \{ languageVersion = JavaLanguageVersion.of(17) } }
>  ** This is the recommended way by Gradle to streamline langauge version configuration.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)