Skip to content

Commit 86d00b5

Browse files
committed
Minor update to changeManifestFile function in cleanup.gradle.kts to rename the koin context.
1 parent 09a3eb9 commit 86d00b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

buildSrc/src/main/kotlin/cleanup.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ fun changeManifestFile(name: String) {
143143
.forEach { templateAppFile ->
144144
// Update class name inside the file
145145
templateAppFile.replace("class TemplateApp", "class ${capitalizedName}App")
146+
templateAppFile.replace("this@TemplateApp", "this@${capitalizedName}App")
146147

147148
// Rename the file itself
148149
val newFile = File(templateAppFile.parent, "${capitalizedName}App.kt")

0 commit comments

Comments
 (0)