Skip to content

Add support for string-arrays#64

Open
Dissem wants to merge 1 commit into
Skeptick:rc/release-2.0.0from
Dissem:feature/string-arrays
Open

Add support for string-arrays#64
Dissem wants to merge 1 commit into
Skeptick:rc/release-2.0.0from
Dissem:feature/string-arrays

Conversation

@Dissem

@Dissem Dissem commented Jun 17, 2026

Copy link
Copy Markdown

This adds support for string arrays. If there are no placeholders, the property will contain an array of strings, otherwise a CustomFormattedStringClass is created, with its format(...) method containing all properties that occur in the array.

Implements #33

}
)
task.outputDirectory.set(outputDirectory.toOutputDirectory(stringsOutputPackageName))
task.outputDirectory.set(baseOutputDirectory.map { it.dir("strings") })

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not quite sure this is necessary. I had some trouble with the build where I used this plugin, but in the end I probably just misspelled the import.
Overlapping outputs seem to be bad practice though, so I left it in.

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

Successfully merging this pull request may close these issues.

1 participant