mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Try to fix showkase metadata code generation
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user