Open MaciejCmiel opened 3 years ago
All the libs have been migrated to maven central. Try this setup. https://kmpdocs.suparnatural.com/fs/#setup
When placing
implementation("com.suparnatural.kotlin:fs:1.1.0")
and using maven central I get the following error:
:shared:iosSimulatorArm64Main: Could not resolve com.suparnatural.kotlin:fs:1.1.0.
Required by:
project :shared
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
:shared:iosSimulatorArm64Test: Could not resolve com.suparnatural.kotlin:fs:1.1.0.
Required by:
project :shared
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
It only happens for iOS simulator main and text, no other iOS or for Android. However, it seems to work still anyways (Android does work, haven't had a chance to test iOS yet).
@coderforlife I got the same issue. seems like iOS Simulator Arm 64 metadata is missing.
`FAILURE: Build completed with 2 failures.
Could not resolve all files for configuration ':shared:iosSimulatorArm64CompilationDependenciesMetadata'. Could not resolve com.suparnatural.kotlin:fs:1.1.0. Required by: project :shared No matching variant of com.suparnatural.kotlin:fs:1.1.0 was found. The consumer was configured to find a library for use during 'kotlin-metadata', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native', attribute 'org.jetbrains.kotlin.native.target' with value 'ios_simulator_arm64' but:
- Variant 'commonMainMetadataElements-published' capability com.suparnatural.kotlin:fs:1.1.0 declares a component for use during 'kotlin-api':
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native'
- Other compatible attributes:
- Doesn't say anything about its component category (required a library)
- Doesn't say anything about its target Java environment (preferred optimized for non-jvm)
- Doesn't say anything about org.jetbrains.kotlin.native.target (required 'ios_simulator_arm64')
BUILD FAILED in 711ms`
Describe the bug After Bintray was closed on 1st May I can't reach the library.
To Reproduce Add library dependency to the project
Expected behavior
Stacktrace
version 1.0.10
Version
1.0.10 and 1.1.0
Platforms affected: