-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add in a Gradle Property to enable the full execution of the the plugin, without interfering with typical Gradle Builds. #2
Comments
In a recent conversation, it sounds like this can be accomplished without Here is where the code is in invert/invert-gradle-plugin/src/main/kotlin/com/squareup/invert/InvertGradlePlugin.kt Lines 39 to 64 in 4eb9661
This is bad because:
|
As more work continues, we are prioritizing functionality over Gradle performance. Because of this, this flag is more important for people that want to install invert directly into their apps. The approach we use for Invert in open source and Square both use an Gradle Going forward this is something that should be added. I'm proposing a This would:
|
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.The text was updated successfully, but these errors were encountered: