Skip to content

Commit 797df15

Browse files
committed
Handle null project description by using orEmpty()
1 parent 7c96d38 commit 797df15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-logic/src/main/kotlin/floodgate-modded.base-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ tasks {
2727
"id" to "floodgate",
2828
"name" to "Floodgate",
2929
"version" to project.version,
30-
"description" to project.description as String,
30+
"description" to project.description.orEmpty(),
3131
"url" to "https://geysermc.org",
3232
"author" to "GeyserMC",
3333
"minecraft_version" to libs.versions.minecraft.version.get()

0 commit comments

Comments
 (0)