Skip to content

Commit

Permalink
Fix nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotori316 committed May 11, 2024
1 parent 1aee664 commit a68e2d5
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,18 @@ githubRelease {
Cats: ${libs.versions.cats.get()}
""".trimIndent()
releaseAssets = files(
fileTree(project(":forge").layout.buildDirectory.dir("libs")) {
include("*.jar")
},
fileTree(project(":neoforge").layout.buildDirectory.dir("libs")) {
include("*.jar")
}
*listOfNotNull(
findProject(":forge")?.let {
fileTree(it.layout.buildDirectory.dir("libs")) {
include("*.jar")
}
},
findProject(":neoforge")?.let {
fileTree(it.layout.buildDirectory.dir("libs")) {
include("*.jar")
}
},
).toTypedArray()
)
dryRun = releaseDebug
}

0 comments on commit a68e2d5

Please sign in to comment.