kpgalligan
09/20/2018, 4:57 PMkpgalligan
09/20/2018, 4:58 PMkpgalligan
09/20/2018, 4:59 PMkpgalligan
09/20/2018, 5:02 PMkpgalligan
09/20/2018, 5:29 PMLiliia
09/21/2018, 10:53 AM<https://stackoverflow.com/a/39252262/2196460>
or this: <https://github.com/wupdigital/android-maven-publish>
Regarding to the example: indeed, it requires a small correction, I’ll try to push the fix soon, sorry for the inconvenience. Yet, the lib part from there isn’t supposed to be published: there is no such configuration like the one described here: https://github.com/h0tk3y/k-new-mpp-samples#publishing-and-mpp-library-dependencies.
To try out the lib publishing with its consequent usage, you may take a look at this example: https://github.com/h0tk3y/k-new-mpp-samples/tree/master/lib-and-app. It doesn’t have Android target, but gives the main idea.
And the latest note: the best plugin version to be used currently is the latest Kotlin 1.3-RC, which is 1.3.0-rc-57
. It is recommended to update the dependencies to have the latest fixes and updates for MPP as well. Also, don’t forget to specify EAP repo for it: maven { url '<https://dl.bintray.com/kotlin/kotlin-eap>' }
kpgalligan
09/21/2018, 1:44 PMkpgalligan
09/21/2018, 1:48 PMLiliia
09/21/2018, 2:33 PMkpgalligan
09/21/2018, 3:24 PMLiliia
09/21/2018, 4:28 PM