Skip to content

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

@misterquestions

Description

@misterquestions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions