square / square/invert

Add in a Gradle Property to enable the full execution of the the plugin, without interfering with typical Gradle Builds.

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
129
Forks
4
PR merge metrics
No merged PRs in 30d

Description

When developing invert with org.gradle.configureondemand=true, the :invert task would run on all subprojects as one would expect. In order to do this, all projects are marked as dependencies requiring a full configuration of all the projects.

In order to avoid this in standard development, we should add a flag to only do this when a report needs to be generated.

./gradlew :invert -Pinvert.enabled=true or something like this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the :invert Gradle task and the plugin configuration involved when org.gradle.configureondemand=true. Run ./gradlew :invert -Pinvert.enabled=true and compare it with a standard build; done means full project configuration occurs only when the property is enabled, without interfering with typical Gradle builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.