darkmoon_uk
05/12/2024, 3:03 AM0.2.2
(in order to publish a wasm
library), but upon updating the Amper version with...
plugins {
id("org.jetbrains.amper.settings.plugin").version("0.2.2")
}
...in setttings.gradle.kts
, upon project sync the Amper Plugin resolution fails on:
Could not find com.jetbrains.intellij.platform:core:232.10203.20
...more in 🧵darkmoon_uk
05/12/2024, 3:07 AMFAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration 'classpath'.
> Could not find com.jetbrains.intellij.platform:core:232.10203.20.
Searched in the following locations:
- <https://repo.maven.apache.org/maven2/com/jetbrains/intellij/platform/core/232.10203.20/core-232.10203.20.pom>
- <https://dl.google.com/dl/android/maven2/com/jetbrains/intellij/platform/core/232.10203.20/core-232.10203.20.pom>
- <https://plugins.gradle.org/m2/com/jetbrains/intellij/platform/core/232.10203.20/core-232.10203.20.pom>
- <https://maven.pkg.jetbrains.space/public/p/amper/amper/com/jetbrains/intellij/platform/core/232.10203.20/core-232.10203.20.pom>
Required by:
unspecified:unspecified:unspecified > org.jetbrains.amper.settings.plugin:org.jetbrains.amper.settings.plugin.gradle.plugin:0.2.2
...am I expected to register more repositories to use Amper 0.2.2
?
The dependency is listed heredarkmoon_uk
05/12/2024, 3:12 AMmaven("<https://www.jetbrains.com/intellij-repository/releases>")
...but now:
> Could not find org.jetbrains.intellij.deps:trove4j:1.0.20221201.
... more repo's to add? This doesn't feel right 🫤darkmoon_uk
05/12/2024, 5:34 AMexamples
in the 0.2.2
tagged revision of Amper repo yielded the answer.
A correct settings.gradle.kts
for Ampler 0.2.2
looks like this:
```pluginManagement {
repositories {
mavenCentral()
google()
gradlePluginPortal()
maven("<https://maven.pkg.jetbrains.space/public/p/amper/amper>")
maven("<https://www.jetbrains.com/intellij-repository/releases>")
maven("<https://packages.jetbrains.team/maven/p/ij/intellij-dependencies>")
}
}
plugins {
id("org.jetbrains.amper.settings.plugin").version("0.2.2")
}
...leaving here for the benefit of fellow weary travellers.