LurkyVAR
05/31/2025, 12:39 PMMutexCast
06/01/2025, 12:35 PMlouiscad
06/01/2025, 2:49 PMBig Chungus
06/01/2025, 9:09 PMTristan
06/04/2025, 5:12 PMarve
06/06/2025, 6:47 AMarve
06/06/2025, 10:28 AMjamshedalamqaderi
06/07/2025, 3:26 PMDependency io.github.dokar3:sonner:0.3.8 depends on io.github.dokar3:sonner-android:0.3.8 which has the following problem:
Module io.github.dokar3:sonner:0.3.8 depends on androidx.compose.ui:ui-tooling-preview, but its version could not be resolved. Attribute version is not defined
louiscad
06/09/2025, 3:53 PMLee Hayeon
06/10/2025, 11:11 PMLucas Villa Verde
06/12/2025, 10:16 PM@Preview
working in common code (you need an Android target for that)
Which works fine for compose multiplatform gradle projects.
But I think with the current Amper structure this might not be possible:
Platforms [iosArm64] are not supported by the library org.jetbrains.compose.ui:ui-tooling-preview:1.8.0
Supported platforms: [android, jvm]
If I add that dependency only to android/jvm, it's gonna be available only in their respective source folders (as expected).
Or am I setting up something wrong?rmarquis
06/21/2025, 11:27 PMskominas.ainis
06/22/2025, 11:43 AMsdeleuze
06/22/2025, 4:16 PMproduct
term. Looks a bit weird to me, could somebody explain the reasoning behind the choice of that word ?
I am also a bit confused by the mix of camel case and -
separators. Do you plan to continue mixing both, and if yes with which rules?
Do you plan to provide Yaml schemas that could be used easily by other IDEs to provide basic autocomplete and documentation?Dumitru Preguza
06/25/2025, 7:54 AMarve
06/25/2025, 1:53 PMpackagePrefix
pattern (similar to gradle idea plugin: https://github.com/JetBrains/gradle-idea-ext-plugin/wiki#package-prefix )
2. Similarly, to define module name pattern. Example below
- We have multiple modules, and each module is split into contract
(interfaces) and service
(implementations), e.g.
manager/sales/contract # package manager.sales.contract
manager/sales/service
engine/pricing/contract
engine pricing/service # package engine.pricing.service
resource/orders/contract
resource/orders/service
Currently with Amper i get collisions in my experiment project (multiple projects named contract
) and had to modify the folder structure in order to build the project as a whole.
I guess these both are more candidates for plugins / extensions since potentially this is more programmatic than plain yaml if you want to let the user define this project-wide. Another approach could be having the user define things like packagePrefix, module name, artifact name in each project explicitlyGiorgi
07/03/2025, 5:50 PMGiorgi
07/05/2025, 8:26 AMGiorgi
07/05/2025, 12:25 PMGiorgi
07/05/2025, 1:26 PMlouiscad
07/06/2025, 10:53 PMGiorgi
07/07/2025, 12:52 PMGiorgi
07/07/2025, 3:31 PMGiorgi
07/07/2025, 3:54 PMJakub Gwóźdź
07/08/2025, 2:13 PMimport java.net.http.HttpClient
fun main() {
val client: HttpClient = HttpClient.newHttpClient()
client.close()
}
Nothing suspicious here, usual code, right?
4. Run main.kt (from IntelliJ, or via ./amper run
00:01.810 INFO :autocloseable:compileJvm Compiling module 'autocloseable' for platform 'jvm'...
00:02.974 ERROR :autocloseable:compileJvm e: file:///Users/jakub.g/personal/jakub-gwozdz/autocloseable/src/main.kt:5:12 Unresolved reference 'close'.
ERROR: Task ':autocloseable:compileJvm' failed: Kotlin compilation failed:
e: file:///Users/jakub.g/personal/jakub-gwozdz/autocloseable/src/main.kt:5:12 Unresolved reference 'close'.
16:08:04: Execution finished 'run -m autocloseable --main-class MainKt'.
How. How is it possible that <http://java.net|java.net>.http.HttpClient
, which obviously is AutoCloseable
, yields this error for me?
Someone please confirm or deny this 🙂Giorgi
07/08/2025, 7:19 PMjoseph_ivie
07/10/2025, 2:57 PMGiorgi
07/16/2025, 1:38 PMGiorgi
07/16/2025, 1:59 PMGiorgi
07/16/2025, 6:26 PMsettings:
kotlin:
languageVersion: 2.2
now when I try to consume it from a Gradle project, the build fails