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

Allow optional include pattern #6

Open
TheE opened this issue Jul 16, 2016 · 1 comment
Open

Allow optional include pattern #6

TheE opened this issue Jul 16, 2016 · 1 comment

Comments

@TheE
Copy link

TheE commented Jul 16, 2016

The fileset used when copying the translation files currently uses a hard-coded include pattern of **/**. In some cases it might be helpful, if users could overwrite this include pattern as needed.

For example, I am having a project with multiple sub-projects, each project has it's own set of translations. On crowding, the translations of all project are stored in one single project in subfolders like so:

project1/
project2/
project3/

To properly resolve the translations per-module, in every module I need to manually specify witch modules I do not want; if I could instead use an include pattern, it would be a s simple as

subprojects {
  crowdinDownload {
    //API etc.
    includePattern = project.name + '/**'
  }
}
@Fuad3009

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants