zt
09/30/2022, 1:18 AMError: Invalid or unsupported type: [deb]
. Same with rpm. I'm developing on linux so shouldn't it be working?enighma
09/30/2022, 1:31 AMtargetFormats(TargetFormat.Deb)
to your build file?
If so, maybe you can share the your build file.zt
09/30/2022, 1:35 AMimport org.jetbrains.compose.compose
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("jvm") version "1.7.10"
id("org.jetbrains.compose") version "1.2.0-beta01"
}
repositories {
google()
mavenCentral()
maven("<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
}
dependencies {
@Suppress("OPT_IN_IS_NOT_ENABLED")
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
implementation(compose.material3)
implementation(compose.desktop.linux_x64)
implementation(compose.materialIconsExtended)
implementation("com.github.ajalt.clikt:clikt:3.5.0")
}
compose.desktop {
application {
mainClass = "zt.tau.MainKt"
nativeDistributions {
packageName = "tau"
packageVersion = "1.0.0"
targetFormats(TargetFormat.AppImage, TargetFormat.Deb)
}
}
}
enighma
09/30/2022, 1:39 AMpackageDeb
?
The only other thing I can think it is which version of JDK you're using?enighma
09/30/2022, 1:40 AMzt
09/30/2022, 1:40 AMzt
09/30/2022, 1:40 AMenighma
09/30/2022, 1:42 AMroot = ""
version = ""
I'm gonna try JDK 18 and see if I get the same errorenighma
09/30/2022, 1:47 AMzt
09/30/2022, 1:48 AMenighma
09/30/2022, 1:54 AMenighma
09/30/2022, 2:02 AMzt
09/30/2022, 2:03 AMenighma
09/30/2022, 2:09 AMzt
09/30/2022, 2:18 AMrpm-tools
and for deb i had to install dpkg
. Then the errors go away
Maybe that information should go on the documentation for packaging?enighma
09/30/2022, 2:21 AMzt
09/30/2022, 2:22 AMenighma
09/30/2022, 2:25 AM