Skip to content

Commit

Permalink
Use the case transformation methods
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Sep 10, 2024
1 parent faf1940 commit 24cdc28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,16 @@ fun replaceStringInDirectoryFiles(directory: File, stringToReplace: String, repl
description = "Test plugin for paperweight-userdev"

val mainProjectAuthor = "Esoteric Slime"
val snakecaseMainProjectAuthor = snakecase(mainProjectAuthor)

val projectAuthors = listOfNotNull(mainProjectAuthor)

val topLevelDomain = "net"

val projectNameString = rootProject.name
val snakecaseProjectNameString = snakecase(projectNameString)

group = "$topLevelDomain$groupStringSeparator${snakecase(mainProjectAuthor)}$groupStringSeparator${snakecase(projectNameString)}"
group = "$topLevelDomain$groupStringSeparator${snakecaseMainProjectAuthor}$groupStringSeparator${snakecaseProjectNameString}"
version = "0.0.4"

val buildDirectoryString = layout.buildDirectory.toString()
Expand Down

0 comments on commit 24cdc28

Please sign in to comment.