Try to fix showkase metadata code generation

This commit is contained in:
Jorge Martín 2023-08-17 16:28:35 +02:00
parent 489c4560d2
commit a3ad3a3788

View file

@ -352,7 +352,7 @@ subprojects {
doLast {
fileTree(buildDir).apply { include("**/*ShowkaseExtension*.kt") }.files.forEach { file ->
ReplaceRegExp().apply {
setMatch("public fun Showkase.getMetadata")
setMatch("^public fun Showkase.getMetadata")
setReplace("@Suppress(\"DEPRECATION\") public fun Showkase.getMetadata")
setFlags("g")
setByLine(true)