Kotlin multi-platform projects structure

Previously, we talked about how to share code across platforms in kotlin world. But as your code base grows, you will encounter a scenario where some code in the projects is cross, but some other is platform specific, so will not be shared and there may be a version of this code for any or… Continue reading Kotlin multi-platform projects structure

Advertisements

Kotlin code sharing among platforms

When you try to deal with the across platform codes, you need to solve 2 things, one is what to share, the other is the architecture of how to share the code. Different languages have different techniques to the second problem, but in Kotlin, you can use multiplatform projects to share the code.  With kotlin… Continue reading Kotlin code sharing among platforms

Evaluation of Kotlin Native for mobile: January 2018

We have been looking at Kotlin Native (KN) as a viable solution for mobile development, and as a competitive solution to those like Xamarin - or to completely separate developments for iOS and Android. To be a viable mobile solution in general requires Kotlin Native(KN)  to be workable for iOS as first announced On my… Continue reading Evaluation of Kotlin Native for mobile: January 2018

Starting with gradle, creating a simple build.gradle

(note: proof edits pending) Gradle a very well known building tool, originating in JVM world, but spreading to wider and wider use. A building tool is designed to automate workflows, particularly for building programs but in fact can automate any workflow iincluding building, linting, testing, pushing and much more to make your life easier. Sometimes… Continue reading Starting with gradle, creating a simple build.gradle

How to publish artifacts to Maven Central via Gradle

Publishing artifacts on Maven Central is a close equivalent to publishing Python packages on PyPI (aka the cheese shop). If you have published packages on PyPI before, you will find these steps a bit more advanced than those you tackled in Python. 0. First things first 1. Sign up 2. Apply for your namespace 3. Get… Continue reading How to publish artifacts to Maven Central via Gradle