Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a gradle plugin to be able to run PackSquash tool #196

Open
misterquestions opened this issue Feb 26, 2023 · 1 comment
Open

Adding a gradle plugin to be able to run PackSquash tool #196

misterquestions opened this issue Feb 26, 2023 · 1 comment
Labels
enhancement New feature or request feedback requested Further information is requested

Comments

@misterquestions
Copy link

Related problem or need

When versioning your resource packs and doing so inside a gradle multi-module project, it could be really usefull to have PackSquash gradle task that can have options like the sourceSets path (to know which files to include/exclude) and the outputDirectory for it.

Proposed solution

Having the ability to add a gradle plugin with the packSquash tool defining it in the build.gradle like this:

plugins {
    id 'packsquash'
}

packSquash {
    include 'src' // Maybe just take this by default
    excluse 'some-file.txt'

    outputDir rootProject.file('build/release')
}

Alternative solutions

Nothing I can think of right now

Additional context

No response

@misterquestions misterquestions added the enhancement New feature or request label Feb 26, 2023
@AlexTMjugador
Copy link
Member

Hi. First of all, thank you for the suggestion! 😄

As someone who prefers to use build tools that don't rely on a domain-specific language, I don't think I'm qualified enough to realize the usefulness of such a Gradle plugin. My use of Gradle has been limited to building existing projects and cobbling basic stuff together without researching how it really works.

That being said, I can see how this idea may have some technical merit, and I'd support the development of such a plugin by contributors.

Would you mind sharing more details about your Gradle workflow? How you envision the described Gradle plugin fitting into it? Why not use a task that runs the PackSquash CLI instead?

@AlexTMjugador AlexTMjugador added the feedback requested Further information is requested label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feedback requested Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants