Try to fix showkase metadata code generation
This commit is contained in:
parent
8afc103c1d
commit
1e74cf2988
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ subprojects {
|
||||||
doLast {
|
doLast {
|
||||||
fileTree(buildDir).apply { include("**/*ShowkaseExtension*.kt") }.files.forEach { file ->
|
fileTree(buildDir).apply { include("**/*ShowkaseExtension*.kt") }.files.forEach { file ->
|
||||||
ReplaceRegExp().apply {
|
ReplaceRegExp().apply {
|
||||||
setMatch("public fun Showkase.getMetadata")
|
setMatch("^public fun Showkase.getMetadata")
|
||||||
setReplace("@Suppress(\"DEPRECATION\") public fun Showkase.getMetadata")
|
setReplace("@Suppress(\"DEPRECATION\") public fun Showkase.getMetadata")
|
||||||
setFlags("g")
|
setFlags("g")
|
||||||
setByLine(true)
|
setByLine(true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue