Skip to content

KAFKA-20882 Reduce build time: use lazy creation for Gradle tasks (i.e. use tasks.register instead of task or tasks.create) - #23016

Open
dejan2609 wants to merge 1 commit into
apache:trunkfrom
dejan2609:KAFKA-20882
Open

KAFKA-20882 Reduce build time: use lazy creation for Gradle tasks (i.e. use tasks.register instead of task or tasks.create)#23016
dejan2609 wants to merge 1 commit into
apache:trunkfrom
dejan2609:KAFKA-20882

Conversation

@dejan2609

Copy link
Copy Markdown
Contributor

JIRA ticket: KAFKA-20882

💡 How to test: execute ./gradlew clean releaseTarGz --rerun-tasks --no-build-cache --no-configuration-cache --no-daemon; results (on my box, that is):

  • trunk: BUILD SUCCESSFUL in 4m 4s
  • this PR: BUILD SUCCESSFUL in 3m 54s

⚠️ Note: allDepInsight task is producing equivalent (not identical) results; I made some tests comparing output files for both trunk and this PR:

./gradlew allDepInsight --configuration runtimeClasspath --dependency com.fasterxml.jackson.core:jackson-databind > someTxtFileForTrunkOrThisPR.txt

ℹ️ Some related links:

…e. use `tasks.register` instead of `task` or `tasks.create`)
@github-actions github-actions Bot added triage PRs from the community build Gradle build or GitHub Actions labels Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant