Skip to content

Changing the source directory for templates #39

@42ravop

Description

@42ravop

When using this block, metadata is not written to files in the src/main/resources2 directory.

sourceSets.main {
  resources.srcDir("src/main/resources2")
  modstitch.templatesSourceDirectorySet.srcDir("src/main/resources2")
}

I wanted to combine the use of two directories by making the directory with resources and templates one. But in this case, metadata will not be written to files in the src/main/resources2 directory, although if you use this block, everything is fine.

sourceSets.main {
  modstitch.templatesSourceDirectorySet.srcDir("src/main/resources2")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions