Merge pull request #6859 from alvasw/Switch_to_new_PackagingPlugin

Switch to new PackagingPlugin
This commit is contained in:
Alejandro García 2023-09-11 21:34:42 +00:00 committed by GitHub
commit c7a9f60a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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())