Comments (5)
I fixed this changing the "com.soywiz.korlibs.klock:klock" dependency to compileOnly.
compileOnly("com.soywiz.korlibs.klock:klock:$klockVersion")
from klock.
I think I have solved the issue,
I was trying to use the kotlin generated libs from a pure java project.
it is necessary to add the
"attribute(KotlinPlatformType.attribute, KotlinPlatformType.jvm)"
to the dependency configuration in order to disambiguate between the different options
from klock.
Can you post your build.gradle file
from klock.
I can't, but I think this should have the answer,
https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#disambiguating-targets
from klock.
I get the same error, but I cannot apply "attribute(KotlinPlatformType.attribute, KotlinPlatformType.jvm)" to the "com.soywiz.korlibs.klock:klock" dependency because I have configured the multiplatform project to use the Js variant.
This is not a problem when I compile the project but currently, I am using liquibaseRuntime, so I think this could be the problem.
from klock.
Related Issues (20)
- Cannot find symbol when using library from Java HOT 8
- Get locale of device HOT 1
- Format DateTimeTz HOT 7
- Deployment to Maven Central HOT 3
- add infix to functions? HOT 2
- Android java.lang.NoSuchMethodError HOT 3
- Jcenter is being sunsetted HOT 1
- How to handle daylight saving time? HOT 2
- Regex Breaks in Kotlin 1.5 HOT 2
- Strange casting of DateTime in runtime HOT 3
- Legacy JS support removed - intentional? HOT 5
- Doesn't have release version klock:klock-android HOT 1
- Where is the latest codes? HOT 3
- Update up to 1.6.0? HOT 4
- Adding support to iosSimulatorArm64 architecture HOT 4
- Missing watchosX64 artifacts in latest version 2.4.12 HOT 9
- Occasional bug in date formatter HOT 4
- Network error, ignore this
- Network error, ignore this
- Chinese Locale still use "am/pm" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klock.