Switch to new PackagingPlugin

This commit is contained in:
Alva Swanson 2023-09-10 16:33:26 +02:00
parent 012288d429
commit 58b361f140
No known key found for this signature in database
GPG Key ID: 004760E77F753090

View File

@ -39,7 +39,7 @@ class PackagingPlugin @Inject constructor(private val javaToolchainService: Java
val javaApplicationExtension = project.extensions.findByType<JavaApplication>()
checkNotNull(javaApplicationExtension) { "Can't find JavaApplication extension." }
project.tasks.register<JPackageTask>("generateInstaller") {
project.tasks.register<JPackageTask>("generateInstallers") {
dependsOn(generateHashesTask)
jdkDirectory.set(getJdk17Directory())