Skip to content

Commit

Permalink
Also replace resources files
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Sep 10, 2024
1 parent db91aa5 commit cf62100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ tasks.register("renameProject") {
currentMainClassFilePath.renameTo(newMainClassFilePath)
}

replaceStringInDirectoryFiles(javaSourcePath, projectGroupString, newGroupString)
replaceStringInDirectoryFiles(javaSourcePath, currentMainClassName, newMainClassName)
replaceStringInDirectoryFiles(javaSourcePath.parentFile, projectGroupString, newGroupString)
replaceStringInDirectoryFiles(javaSourcePath.parentFile, currentMainClassName, newMainClassName)

replaceStringInFile(settingsFilePath, projectNameString, kebabcase(newName))
replaceStringInFile(buildFilePath, "val mainProjectAuthorName = \"$mainProjectAuthorName\"", "val mainProjectAuthorName = \"$newAuthorName\"")
Expand Down

0 comments on commit cf62100

Please sign in to comment.