sergeshustoff / dikt

Simple and powerful DI for kotlin multiplatform
MIT License
141 stars 4 forks source link

Add runtime library dependency by gradle plugin for multiplatform modules #2

Closed sergeshustoff closed 3 years ago

sergeshustoff commented 3 years ago

Currently implementation 'com.github.sergeshustoff.dikt:dikt-runtime:' is not added by plugin to multiplatform modules. Seems that if works fine others

sergeshustoff commented 3 years ago

Done in 1.0.0-alpha5

sergeshustoff commented 3 years ago

For some reason runtime library is added when gradle plugin applied old-school way with

classpath "io.github.sergeshustoff.dikt:dikt-gradle-plugin:1.0.0-alpha5"

in buildscript.dependencies. But it's not added when gradle plugin is applied in module via new plugin api like this:

plugins {
    id "io.github.sergeshustoff.dikt" version "1.0.0-alpha5"
}
sergeshustoff commented 3 years ago

fixed in 1.0.0-alpha6