apple / apple/pkl

Clear task names in Gradle plugin

Open
#188 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
11.5k
Forks
402
Avg merge
1d 15h
Merged PRs (30d)
20

Description

It is currently pretty hard to locate the task names for generating code from the Pkl Gradle plugin; it would help if these task names were given a `category` and `description`, so that they show up when a Pkl user runs `./gradlew tasks`.

In my specific use case, I'm looking for the tasks I can configure to run another task reliably after Pkl's code-gen step. To remedy #187 locally, I want to amend the files and move them to a package path, but it's hard to do that even with Gradle's extensive override facilities if I don't know where plugin authors prefer me (as a build author) to hook in and call `finalizedBy`.

Contributor guide

Open the contributing guide

Research direction

Inspect the Pkl Gradle plugin's task registration and identify the code-generation tasks described in the issue. Run ./gradlew tasks to establish the current output; done when those tasks appear with a category and description that make them easy to locate and configure with finalizedBy.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.