|
|
|
|
@ -137,6 +137,12 @@ internal fun getResFileSpec(
@@ -137,6 +137,12 @@ internal fun getResFileSpec(
|
|
|
|
|
.addMember("org.jetbrains.compose.resources.InternalResourceApi::class") |
|
|
|
|
.build() |
|
|
|
|
) |
|
|
|
|
file.addAnnotation( |
|
|
|
|
AnnotationSpec.builder(ClassName("kotlin", "Suppress")) |
|
|
|
|
.addMember("%S","RedundantVisibilityModifier") |
|
|
|
|
.addMember("%S","REDUNDANT_VISIBILITY_MODIFIER") |
|
|
|
|
.build() |
|
|
|
|
) |
|
|
|
|
file.addType(TypeSpec.objectBuilder("Res").also { resObject -> |
|
|
|
|
resObject.addModifiers(resModifier) |
|
|
|
|
|
|
|
|
|
@ -399,4 +405,4 @@ private fun sortResources(
@@ -399,4 +405,4 @@ private fun sortResources(
|
|
|
|
|
result[type] = typeResult |
|
|
|
|
} |
|
|
|
|
return result |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|