You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Robert Houghton (Jira)" <ji...@apache.org> on 2022/05/06 18:14:00 UTC

[jira] [Created] (GEODE-10283) Modernize build plugins for reuse and extensibility

Robert Houghton created GEODE-10283:
---------------------------------------

             Summary: Modernize build plugins for reuse and extensibility
                 Key: GEODE-10283
                 URL: https://issues.apache.org/jira/browse/GEODE-10283
             Project: Geode
          Issue Type: Task
          Components: build
    Affects Versions: 1.15.0
            Reporter: Robert Houghton


The Geode build extends many built-in Gradle plugins in the `gradle`
 subdirectory as "ad-hoc" plugins. Replacing those with [pre-compiled|https://docs.gradle.org/current/userguide/custom_plugins.html#sec:precompiled_plugins] plugins gives several benefits:
* IDE support
* behavior validation via tests
* better plugin-ordering determinism

We also have several build plugins defined in the magic project `buildSrc`. The Gradle team recommends migrating to first-class sub-projects, and using `includeBuild` to bring them into the build system.

These combined changes allow all build plugins to use the modern `plugins` closure for declaring plugin use, and allow further composite builds by clients without name collision in the implicit `buildSrc` project.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)