Fails to find license with Kotlin Multiplatform Javascript Target
See original GitHub issueSTEPS TO REPRODUCE
- Create a gradle module with multiplatform libraries like
com.benasher44:uuid:0.3.1
, a javascript target, and applying version 1.3.0 of the licensee plugin. E.g.
plugins {
kotlin("multiplatform")
id("app.cash.licensee")
}
kotlin {
jvm()
js(IR)
sourceSets {
val commonMain by getting {
dependencies {
api("com.benasher44:uuid:0.3.1")
}
}
}
RESULTS Actual:
com.benasher44:uuid-js:0.3.1
- ERROR: Artifact declares no licenses!
Expected: It finds the license for the JVM target, so it should also succeed with the Javascript target.
NOTES I don’t know if there’s a limitation in the Kotlin Multiplatform Gradle plugin where we need to file an issue with JetBrains, but I thought I’d start here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
javascript as target in kotlin multiplatform library - Stack Overflow
I'm building a Kotlin multiplatform library. One of the targets in this project is javascript. In the source set I have added a...
Read more >Set up a Kotlin/JS project
To create a Kotlin/JS project in IntelliJ IDEA, go to File | New | Project. Then select Kotlin Multiplatform and choose a Kotlin/JS...
Read more >Continuous delivery for your Kotlin Multiplatform library | by Yury
META — all targets are set up, but only the module with meta information for Gradle Metadata is assembled. With these target groups,...
Read more >GraphQL Code Libraries, Tools and Services
Stars18k. LicenseMIT License. A powerful JavaScript GraphQL client, designed to work well with React, React Native, Angular 2, or just plain JavaScript.
Read more >Introduction to Multiplatform Programming in Kotlin - Baeldung
We'll develop a simple application that will target multiple platforms like JVM, JS, and Native. This will also help us understand the benefits ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just tested this out and can confirm that it resolves the issues I saw with multiplatform/JS dependencies.
Going to close as a duplicate of #30 which is fixed in 1.5.0. Please try and let me know if it resolves this. Otherwise we’ll have to get a failing test case integrated.