https://kotlinlang.org logo
Title
m

mkobit

12/13/2017, 6:58 PM
has anybody else ran into publishing a library depending on kotlin, not including the version in the POM? so like
api(kotlin("stdlib-jre8"))
and running
./gradlew genPom
with the
maven-publish
plugin and getting a dependency without the version?
<dependency>
      <groupId>org.jetbrains.kotlin</groupId>
      <artifactId>kotlin-stdlib-jre8</artifactId>
      <scope>compile</scope>
    </dependency>
g

gildor

12/13/2017, 6:59 PM
m

mkobit

12/13/2017, 6:59 PM
ok sounded familiar, thanks for link
g

gildor

12/13/2017, 6:59 PM
Now three of us, I think we definitely should create an issue 😂
m

mkobit

12/13/2017, 7:00 PM
hah definitely
c

Czar

12/13/2017, 7:12 PM
I'm a bit drunk right now, but will upvote if someone takes th e responsobility
🍺 3
m

mkobit

12/13/2017, 7:13 PM
im in the process of writing it up, will post it here after
🍷 2
c

Czar

12/13/2017, 7:13 PM
is it kotlin's bug though or publish?
g

gildor

12/13/2017, 7:14 PM
I do not drunk, but 3am here, so your are our only hope! 🙏
💤 1
I suppose we should create a task for Kotlin Gradle Plugin, because this is feature of plugin (omit dependency version)
m

mkobit

12/13/2017, 7:15 PM
im not actually sure if it is a problem for the kotlin gradle plugin or in gradle core
g

gildor

12/13/2017, 7:15 PM
+1 for kotlin gradle plugin
m

mkobit

12/13/2017, 7:18 PM
i

ilya.gorbunov

12/13/2017, 10:25 PM
This issue might be related, see the comment by @h0tk3y there https://youtrack.jetbrains.com/issue/KT-21203
m

mkobit

12/13/2017, 10:28 PM
that does look related and seems to indicate that problem is more in gradle core, thanks for link @ilya.gorbunov