Michael Paus
09/23/2022, 5:15 PMCannot add task 'packageRelease' as a task with that name already exists.
Full stacktrace in thread ->eddie
09/23/2022, 5:42 PMMichael Paus
09/23/2022, 6:01 PMeddie
09/23/2022, 6:06 PMpackageRelease
task then?Michael Paus
09/23/2022, 6:22 PMeddie
09/23/2022, 6:24 PMMichael Paus
09/24/2022, 9:25 AM#<https://github.com/JetBrains/compose-jb/tree/master/experimental/examples/falling-balls-mpp>
#IntelliJ IDEA 2022.2.2 (Community Edition)
# Original (works)
#compose.version=1.2.0-alpha01-dev725
#kotlin.version=1.6.21
#agp.version=7.0.4
# Update AGP (works)
#compose.version=1.2.0-alpha01-dev725
#kotlin.version=1.6.21
#agp.version=7.2.2
# Update Compose and Kotlin (Compiler error)
#compose.version=1.2.0-alpha01-dev774
#kotlin.version=1.7.10
#agp.version=7.2.2
# Update Compose/Kotlin/AGP to latest (Cannot add task 'packageRelease' as a task with that name already exists.)
# Keeping agp.version=7.2.2 does not make a difference.
compose.version=1.2.0-beta01
kotlin.version=1.7.10
agp.version=7.3.0
Is there anything wrong with the combination of versions?Lucas
09/24/2022, 5:55 PMLucas
09/24/2022, 7:51 PMMichael Paus
09/24/2022, 8:59 PMLucas
09/26/2022, 2:25 AMLucas
09/26/2022, 2:29 AMLucas
09/26/2022, 2:41 AM/compose.experimental {
// web.application {}
//}
and changed the android application plugin to library plugin, so i was left only with the desktop build block
compose.desktop {
application {
...
}
}
In the common module tho, it shouldnt have any compose targets, you should create submodules that import the common module and each submodule has its own build target.Michael Paus
10/10/2022, 7:25 PM