Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

What's left to make this work

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java

Research direction

Start with CacheHorizonPlugin.java lines 131-135 and 139-203, then investigate the Gradle task-execution APIs referenced by the copied implementation. Determine whether a task can be disabled during execution and how to implement isCachedOrUpToDate(Task task); done means both questions have validated answers and the plugin behavior works.

Written by the indexing model from the issue text.

Description

There are two open questions:

  1. Does gradle let you disable a task during task execution? That's our whole premise, so hopefully the answer to this is yes!

https://github.com/diffplug/cache-horizon/blob/13424bc79e322285c8f8916700109874e24edaf2/src/main/java/com/diffplug/cachehorizon/CacheHorizonPlugin.java#L131-L135

  1. How can we implement boolean isCachedOrUpToDate(Task task)?

This is how far we got, by copying out the relevant-looking parts of Gradle's task execution. It definitely doesn't work as written, but it points towards the internal APIs that Gradle uses for this.

https://github.com/diffplug/cache-horizon/blob/13424bc79e322285c8f8916700109874e24edaf2/src/main/java/com/diffplug/cachehorizon/CacheHorizonPlugin.java#L139-L203

That's as far as we got, and as far as we are likely to get for the foreseeable future. We're happy to merge PRs and add committers here if you don't want to deal with publishing and maintaining, also we're also happy to shut this project down and link to yours if you find a way forward and want to maintain it.

Our intent is to use this issue as the "forum" for solving the two questions above, or for linking out to other solutions that frame the problem differently.

Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

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.

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.