Open ShreyashKore opened 4 months ago
try to add this dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { url 'https://jitpack.io' } } }
I should have mentioned that I'm trying to use it in a Multiplatform project. So I've added this block in my setting.gradle.kts
like this
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven("https://jitpack.io")
}
}
And then I'm importing it in my wasmJsMain dependency block
wasmJsMain.dependencies {
// ....
implementation("com.github.Hamamas:Kotlin-Wasm-Html-Interop:0.0.5-alpha")
}
BTW, thanks for this project and I've pushed the code in the branch test/Kotlin-Wasm-Html-Interop
for reference.
Im having the same issue.
@ShreyashKore It looks like you did not import the jit library in your project, and simply copied the code from this repo. Is this accurate?
I alsp have a project showing how to use google maps in a KMP Compose project for iOS and Android.
@realityexpander Yes that's correct. I've copied this project in composeWebInterop
folder.
OK, sounds good!
Getting the following error when trying to import the dependency in Compose Multiplatform
Build on Jitpack seems to have failed with the following error:
https://jitpack.io/com/github/Hamamas/Kotlin-Wasm-Html-Interop/0.0.4-alpha/build.log.