Skip to content

[Shared] Add non-task helper to execute tool #29

Open

Description

@LexManos

Would be nice to be able to execute a tool without using the ToolExec task.
Namely, without giving users all the extra ways to configure I wanted to execute a tool twice in one task. For Srg2Source, need to execute it to extract and apply the rangemap.

Activity

  1. Jonathing commented on Apr 2, 2026

    @Jonathing
    Member

    I've been experimenting several ways to make this work. Unfortunately, it's not easy. The best thing I can think of is something similar to our new MavenizerInstance system we have in FG7 for configuration time. And non-task interfaces need to be @Nested among other things to make configuration cache happy.

    See this branch for my unfinished work regarding this. That being said, I'll probably end up starting from scratch on this front.

  2. LexManos commented on Apr 2, 2026

    @LexManos
    MemberAuthor

    Not a major rush, just ran into it again moving Srg2Source to renamer-gradle so made an issue to track it as a feature request for the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions