https://kotlinlang.org logo
#amper
Title
# amper
e

Elena Artamonova

03/13/2024, 5:19 PM
Hi everyone! New Amper version
0.2.2
released What's changed: • Added support for wasm platform • No longer set default maven repositories in non-Amper modules (Gradle modules that don't have a module.yaml). Note: Amper modules still don't take into account dependencyResolutionManagement from settings.gradle.kts, and the correct way to share repositories between Amper modules is still to use Amper templates (see https://github.com/JetBrains/amper/blob/0.2/docs/Documentation.md#managing-maven-repositories )
🎉 3
j

John O'Reilly

03/13/2024, 5:25 PM
> • Added support for wasm platform Just to confirm, this doesn't include support for Wasm based Compose for Web clients yet?
true 3
a

Anton Prokhorov

03/15/2024, 10:40 AM
True
s

Sabeeh

03/16/2024, 9:34 AM
After upgrading amper from 0.2.0 to 0.2.2 I'm getting following error:
Copy code
Execution failed for task ':commonizeNativeDistribution'.
> Could not resolve all files for configuration ':kotlinKlibCommonizerClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable:1.9.20 because no repositories are defined.
     Required by:
         project :
This issue only when add ios target so i found that amper 0.2.2 not supported with xcode 15.3
j

joffrey

03/20/2024, 12:15 PM
Hi @Sabeeh, we are aware of this issue, it's already fixed but the fix is not released yet. In the meantime, if you want to keep using 0.2.2, a workaround should be possible. I haven't tested it, but adding the following block to your
settings.gradle.kts
should do the trick:
Copy code
dependencyResolutionManagement {
    repositories {
        mavenCentral()
    }
}
s

Sabeeh

03/25/2024, 9:30 AM
@joffrey it worked thanks.
j

joffrey

03/25/2024, 2:06 PM
Cool! Good to hear 🙂
16 Views