Closed ccjernigan closed 2 years ago
Probably some form of #30
I've also gotten this now with ktor 1.6.7:
io.ktor:ktor-client-core-iosarm64:1.6.7
- ERROR: Artifact declares no licenses!
io.ktor:ktor-http-cio-iosarm64:1.6.7
- ERROR: Artifact declares no licenses!
io.ktor:ktor-http-iosarm64:1.6.7
- ERROR: Artifact declares no licenses!
io.ktor:ktor-io-iosarm64:1.6.7
- ERROR: Artifact declares no licenses!
io.ktor:ktor-utils-iosarm64:1.6.7
- ERROR: Artifact declares no licenses!
Interessting, at least sometime it is able to find the license:
app.softwork:routing-compose:0.1.9-dev670
- SPDX identifier 'Apache-2.0' allowed
app.softwork:routing-compose-js:0.1.9-dev670
- SPDX identifier 'Apache-2.0' allowed <- Why? :D
com.squareup.sqldelight:coroutines-extensions:1.5.3
- SPDX identifier 'Apache-2.0' allowed
com.squareup.sqldelight:coroutines-extensions-js:1.5.3
- ERROR: Artifact declares no licenses!
org.jetbrains.kotlin:kotlin-stdlib-js:1.6.21
- SPDX identifier 'Apache-2.0' allowed
I will take a look later this week and compare my POM (app.softwork:routing-compose-js) with the sqldelight one
I've got another POM: https://repo1.maven.org/maven2/com/vanniktech/lint-rules-rxjava2/0.21.0/lint-rules-rxjava2-0.21.0.pom
License is there but licensee can't seem to find it:
com.vanniktech:lint-rules-rxjava2:0.21.0
- ERROR: Artifact declares no licenses!
Gradle's consuming side looks like this:
api "com.vanniktech:lint-rules-rxjava2:0.21.0"
This also affects all darwin targets (macOS, iOS, watchOS and tvOS).
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.
I just tested this out and can confirm that it resolves the issues I saw with multiplatform/JS dependencies.
STEPS TO REPRODUCE
com.benasher44:uuid:0.3.1
, a javascript target, and applying version 1.3.0 of the licensee plugin. E.g.RESULTS Actual:
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.