mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
Simplify CarbonPlatformExtension
This commit is contained in:
5 files changed
+14
-18
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user