Simplify CarbonPlatformExtension

This commit is contained in:
Jason Penilla committed 2023-12-13 11:59:07 -08:00
1 parent 28736d3165
commit bbac62571d
5 files changed
+14 -18

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ val projectVersion: String by project // get from gradle.properties
version = projectVersion
fun Project.platformJar(): Provider<RegularFile> =
extensions.getByType<CarbonPlatformExtension>().jarTask.flatMap { it.archiveFile }
extensions.getByType<CarbonPlatformExtension>().productionJar
hangarPublish.publications.register("plugin") {
version = projectVersion