https://kotlinlang.org logo
Join Slack
Powered by
# amper
  • o

    orangy

    07/28/2025, 11:11 AM
    @orangy has left the channel
  • s

    suresh

    07/29/2025, 2:01 AM
    Hi Amper team, I’m using the latest dev version. Does packaging only work for JVM targets? It’s not even building/linking any of the native targets. Is this expected?
    a
    j
    f
    • 4
    • 17
  • a

    arve

    07/30/2025, 11:02 AM
    Hi, does anyone have any hacks or tips to get
    kotest
    to work with amper? For me it’s reporting something like “no test classes found”
    a
    j
    s
    • 4
    • 14
  • s

    suresh

    07/30/2025, 5:15 PM
    Hi,
    commonizeNativeDistribution
    is happening whenever i update the Amper version (./amper update --dev), is this expected?
    j
    • 2
    • 2
  • s

    suresh

    07/30/2025, 8:34 PM
    Hi, what’s difference between
    settings.jvm
    and the
    settings.java
    ? I’m a little confused about their clear distinctions and which configuration should go where.
    j
    • 2
    • 12
  • s

    suresh

    07/30/2025, 9:45 PM
    Hi, is JBR a pre-req for Amper to execute builds? While the
    AMPER_JAVA_HOME
    env variable allows for an override, Amper currently defaults to downloading JBR 21. Would it be possible for Amper to leverage an existing, compatible JDK by default?
    j
    • 2
    • 9
  • s

    suresh

    08/02/2025, 3:00 AM
    Hi, it seems the VM options for the Amper run/debug configuration are not working as expected. Is there another way to pass JVM arguments when running the main?
    a
    • 2
    • 3
  • d

    Draget

    08/06/2025, 11:08 AM
    Currently waiting on my gitlab runner running a gradle check task on a not-so-complicated project on an AMD ZEN 2 machine with 32GB RAM and no other load and it takes >4 miniutes to run gradle. This is pain...
    j
    • 2
    • 2
  • i

    Ivan Babintsev

    08/06/2025, 7:13 PM
    Hi Amper team. I'm using the latest dev version. Found that Android tests fail unconditionally in multi-module projects with an internal error. Details are in https://youtrack.jetbrains.com/issue/AMPER-4562
    thank you color 1
  • m

    Mario Andhika

    08/07/2025, 5:11 AM
    How does Amper compare to Bazel?
    g
    • 2
    • 3
  • s

    suresh

    08/08/2025, 12:16 AM
    Hi Amper team, the native target’s testRelease linking fails for the shared module and prints the error below, but the build still ends up marked as successful.
    f
    • 2
    • 11
  • s

    suresh

    08/08/2025, 11:03 PM
    Hi folks, do you have a sample GitHub Actions workflow for an Amper build, specifically for jvm and native desktop targets, that includes setup and caching (build tool and konan) similar to workflows for Gradle/Maven ?
    j
    • 2
    • 1
  • a

    Aldi Kitta

    08/09/2025, 10:15 AM
    Is amper support compose hot reload?
    j
    • 2
    • 1
  • s

    suresh

    08/11/2025, 5:51 AM
    Hi Amper team, how are you planning to support compiler plugins (including third-party) in Amper? Most of these plugins come with an accompanying Gradle plugin. Are there any plans to support third-party compiler plugins (such as Kopy, redacted) in the next release?
    j
    g
    z
    • 4
    • 8
  • s

    suresh

    08/12/2025, 5:49 AM
    How can we configure linux specific linker options in Amper?
    j
    • 2
    • 2
  • d

    Draget

    08/12/2025, 10:53 AM
    Testing Ampere and collecting some minor issues. If there are a few issues with the spring dependency resolving, should I create one issue for all of them or one issue for each dependency on YouTrack?
    🙏 2
    j
    a
    • 3
    • 4
  • r

    rudolf.hladik

    08/19/2025, 7:14 AM
    Hi, simple console app with just
    product: jvm/app
    includes springframework boot loader. When I create the simple console app without amper it doesn't include spring bootloader. Is there a way to remove it from Amper console app? By includes I mean it is in the fat jar. I've tried
    Copy code
    settings:
      springBoot:
        enabled: false
    but it just says its the default value
    a
    j
    • 3
    • 6
  • s

    Sabeeh

    08/19/2025, 2:41 PM
    Is there any way to publish an Android library using standalone Amper? If it’s not supported in the current release, is it available in the dev version or planned for an upcoming release?
    a
    • 2
    • 1
  • s

    suresh

    08/21/2025, 9:35 PM
    Hi Amper team, is there a specific reason why I can’t use ksp for platform-specific settings? I have a KSP processor that only makes sense for the JVM target (e.g., Google Auto Service). When I add it, it throws the following error
    a
    j
    • 3
    • 5
  • s

    suresh

    08/22/2025, 5:51 PM
    Will Amper provide native support for using Kotlin sources within Java modules (JPMS)? Currently in Gradle, this requires complex configuration ( https://github.com/JakeWharton/mosaic/blob/6c449af41608f78c083222b25c309e5f1638cc78/build-support/src/main/kotlin/com/jakewharton/mosaic/buildsupport/MosaicBuildExtensionImpl.kt#L15) to properly patch modules, which is cumbersome to set up.
    a
    • 2
    • 8
  • s

    suresh

    08/27/2025, 3:19 PM
    I just checked the Kotlin roadmap for the next six months, but I found no mention of Amper (https://kotlinlang.org/docs/roadmap.html). Is there a separate roadmap for Amper, and what can we expect in the near future?
    j
    • 2
    • 5
  • j

    Jakub Gwóźdź

    08/28/2025, 4:47 AM
    Here's my use case: For testing Amper, I use it on unimportant projects like puzzle contest (Advent of Code, Everybody Codes, etc). And those projects have one thing in common: each new day/puzzle is a separate
    main()
    that I run just from IntelliJ (ctrl-r or click-the-green-triangle). And I noticed one thing: when there is a relatively small number of such files, each run is rather quick, but as soon as it grows, the delay became more and more noticeable and inconvenient. Even if between each run I just edit a tiny bit of code in one tiny file not really connected to rest of the project, it looks like Amper plugin is rebuilding everything? You might want to look more closely to this at some point 🙂
    j
    c
    s
    • 4
    • 5
  • e

    Ernestas

    08/28/2025, 9:57 AM
    I am trying to migrate a CMP project from Gradle to Amper reading these docs https://github.com/JetBrains/amper/blob/release/0.7/docs/GradleMigration.md and I am stuck after step 2 because some dependencies require a newer AGP version, for example:
    Copy code
    13 issues were found when checking AAR metadata:
    1.  Dependency 'androidx.navigation:navigation-compose-android:2.9.1' requires Android Gradle plugin 8.6.0 or higher.
    This build currently uses Android Gradle plugin 8.2.0.
    What are my options here?
    j
    • 2
    • 3
  • e

    Ernestas

    08/28/2025, 1:56 PM
    I've managed to run the app with
    ./amper run --platform android
    , but the IDE does not seem to recognize Kotlin code, there's no autocompletion or navigation, even though the project runs via CLI. Is there perhaps something obvious I might be missing? I've installed the Amper plugin, and I'm using IntelliJ IDEA community edition.
    a
    j
    • 3
    • 4
  • s

    suresh

    08/29/2025, 4:37 AM
    I am starting to get the following warnings for native target modules, which have shared module dependencies (which set the JVM release as 21). Not sure why JVM release config matters for native app product types.
    j
    u
    • 3
    • 8
  • e

    Ernestas

    08/29/2025, 5:59 AM
    I can see in previous discussions that Amper supports gradle interop for plugin configurations (for example: Sqldelight, kotlin-inject), but the links to the documentation are dead, has this been moved somewhere? Or does Amper support plugin configurations without gradle now?
    j
    • 2
    • 4
  • d

    danfma

    08/29/2025, 1:13 PM
    Hello, everybody!
    meow wave 1
  • d

    danfma

    08/29/2025, 1:15 PM
    Guys, maybe a stupid question but when using Amper standalone, is it possible to use some gradle plugin too? Or do I really need that gradle-based mode?
    j
    o
    +2
    • 5
    • 25
  • s

    suresh

    09/01/2025, 6:36 PM
    Hi, by default, Amper seems to add the following repositories and it appears that resolution happens in that specific order. We do have an internal repository which we prefer first or after Maven Central
    Copy code
    Repositories used for resolution:
      - <https://repo1.maven.org/maven2>
      - <https://maven.google.com>
      - <https://maven.pkg.jetbrains.space/public/p/compose/dev>
      - <https://internalrepo.com/artifactory/xxxx-mvn>
    So: • Is there any way to control the repository order used for dependency resolution? • Are Google and Compose repositories added by default in Amper?
    a
    j
    • 3
    • 5
  • s

    suresh

    09/08/2025, 4:12 PM
    Have we stopped publishing the dev version of amper?
    j
    j
    • 3
    • 9