Carter
08/20/2024, 5:29 PM--write-verification-metadata sha256
.
The challenge is with Kotlin Native targets, it only resolves the macOS Arm64 targets when I run the command locally on my Mac. When I then do a subsequent build on GitHub Actions (Linux x64), it fails because the verification metadata for that target is missing. I run into this regularly with the org.jetbrains.kotlin:kotlin-native-prebuilt
dependency.
Is there a straightforward way to resolve these other platform targets?
This is how I’m currently resolving all dependencies:
init.gradle.kts
initscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath("org.gradle:github-dependency-graph-gradle-plugin:1.3.1")
}
}
apply<org.gradle.dependencygraph.simple.SimpleDependencyGraphPlugin>()
./gradlew :ForceDependencyResolutionPlugin_resolveAllDependencies -I init.gradle.kts --write-locks --write-verification-metadata sha256