Implement filePathPattern in the script configuration with handling

also
- tests
- extending kdoc for the definitions
This commit is contained in:
Ilya Chernikov
2019-07-11 14:40:36 +02:00
committed by Natalia Selezneva
parent dface77b5c
commit 0cc40440fb
7 changed files with 46 additions and 2 deletions
@@ -78,6 +78,9 @@ private fun ScriptCompilationConfiguration.Builder.propertiesFromTemplate(
if (fileExtension() == null) {
fileExtension(mainAnnotation.fileExtension)
}
if (filePathPattern() == null) {
filePathPattern(mainAnnotation.filePathPattern)
}
if (displayName() == null) {
displayName(mainAnnotation.displayName)
}