Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Release standalone artifact of dukecon mpp library for 3rd party clients #5

Open
michalharakal opened this issue Dec 26, 2019 · 5 comments
Milestone

Comments

@michalharakal
Copy link
Contributor

michalharakal commented Dec 26, 2019

The goal is to implement a process of realsing of multiplatform

Propossed steps:

  • release pre 1.0 development version on our Nexus, which is under control https://dev.dukecon.org/nexus/
  • release stable 1.0 version on jcenter so its easy usable by other parties as maven dependency
  • consider that iOS version can be consumed via cocoapods
  • consider proper use of BOM pom
@michalharakal
Copy link
Contributor Author

michalharakal commented Dec 26, 2019

As inspiration can help community drived project releasing artifacts. See

As far I've leard, bintray plugin isn't not reliable and standard gradle maven publish plugin is working well. Bintray project as reference:

@michalharakal michalharakal added this to the 0.0.1 milestone Dec 26, 2019
@michalharakal
Copy link
Contributor Author

Also check simple MPP project starter https://github.com/sujitpoudel/kmp-android-ios-starter

@michalharakal
Copy link
Contributor Author

michalharakal added a commit that referenced this issue Feb 26, 2020
michalharakal added a commit that referenced this issue Mar 1, 2020
michalharakal added a commit that referenced this issue Mar 1, 2020
michalharakal added a commit that referenced this issue Mar 3, 2020
michalharakal added a commit that referenced this issue Mar 4, 2020
@michalharakal
Copy link
Contributor Author

Folowwing posible

File hast to be called simple.main.kts

@file:Repository("https://jitpack.io")
@file:DependsOn("com.github.dukecon.dukecon_mobile:domain-jvm:develop-SNAPSHOT")

import org.dukecon.domain.model.Room

println("Hello from Kotlin!")
val room = Room("1", "Saal 1")
println("Hello from ${room.name}")
for (arg in args) {
    println("arg: $arg")
}

Execute follwoing from CLI:

 kotlinc -cp kotlin-main-kts.jar -script simple.main.kts

File kotlin-main-kts.jarhas to be also in the path and can be downloaded from bintray or maven central-

See details here: Jetbrain's blog

@michalharakal
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant