Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6383

Build scripting should not violate modularity.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • None
    • None

    Description

      In many portions of our build scripting, we use the invasive, modularity-breaking pattern of

      subprojects {
        configureSomething
      }
      

      This is particularly problematic when certain plugins or built-ins do not integrate well with each other, e.g, Gradle 5.2's java-platform needing to be applied before the java plugin.

      As a result, within a single subproject, it is very difficult to know (without prior experience) how the subproject is configured.

      This ticket is intended to be a "parent" ticket for jobs that fall into the following categories:

      • Converting a plugin-script in gradle/ to a class extending Plugin<Project>.
      • Moving a plugin to belong to buildSrc
      • Converting invasive subproject [configuration] calls to be "opt-in" by the subprojects that require the configuration, such as the work done in GEODE-6237.

      Attachments

        Activity

          People

            prhomberg Patrick Rhomberg
            prhomberg Patrick Rhomberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h