Try to fix showkase metadata code generation

This commit is contained in:
Jorge Martín
2023-08-17 16:28:35 +02:00
parent 8afc103c1d
commit 1e74cf2988

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)