deepmedia / deepmedia/MavenDeployer

'api' dependencies have wrong 'runtime' scope in pom.xml

Open
#32 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
89
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hello, thanks for this great library.

I have transitive dependencies in my KMP library, they are marked as 'api' instead of 'implementation'. However when published locally or to Maven Central, they are marked as 'runtime' instead of 'compile' in pom.xml. Which forces the library user to add these transitive dependencies manually.

The library is open-source here: https://github.com/step-up-labs/spayd-kmp

Dependencies I'm talking about:
```
api(libs.bignum)
api(libs.kotlinx.datetime)
```

which maps to POM:

```


com.ionspin.kotlin
bignum
0.3.10
runtime


org.jetbrains.kotlinx
kotlinx-datetime
0.6.1
runtime

```

Is this a bug in maven deployer or could you please point me in some direction which might fix the issue?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.