arturdm / arturdm/jacoco-android-gradle-plugin

Migrate plugin to use Gradle's task configuration avoidance APIs

Open
#66 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
565
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Gradle recommends to use the task configuration avoidance APIs whenever tasks are created in custom plugins.

> In a nutshell, the API allows builds to avoid the cost of creating and configuring tasks during Gradle’s configuration phase when those tasks will never be executed. For example, when running a compile task, other unrelated tasks, like code quality, testing and publishing tasks, will not be executed, so any time spent creating and configuring those tasks is unnecessary. The configuration avoidance API avoids configuring tasks if they will not needed during the course of a build, which can have a significant impact on total configuration time.

See more info [here](https://docs.gradle.org/current/userguide/task_configuration_avoidance.html).

Please let me know if you are interested in getting this issue resolved. I would be very happy to contribute.

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the linked Gradle task configuration avoidance guidance, then inspect the plugin's task creation sites. Migrate the custom plugin to the recommended APIs and verify that existing plugin behavior remains intact; the issue names no files or tests, so the relevant entry points must first be located.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.