The standard way to start a kotlin project is as a jvm project. Perhaps it shouldn't be, as starting as a multiplatform project is just as simple, and provides more flexibility. At this time, there is no way to automatically create a jvm project as multiplatform, without already selecting extra platforms, but it is very… Continue reading Kotlin: JVM to Multiplatform
Category: gradle
Gradle, Maven, Ant, other build tools and History
Introduction While the components of a python program are installed with pip install or similar, the components of any compiled program (such as kotlin) need to be combined together or 'built' using a build tool. This page gives an overview of build tools, while other pages in the build section of this site explain how… Continue reading Gradle, Maven, Ant, other build tools and History
Gradle Kotlin DSL 1.0: Basic App Build
Contents: Kotlin DSL list of other pagesBuild Basics in Gradle Plugins Dependencies and Artifact Repositories A Simple Practical ExampleVarying the Source Locations: SourceSetsApplicationTesting - JUnitlocal jars as dependencies Build Basics with Gradle. The build file prepares a configuration for gradle and for any optional extra build tools. The basic configuration for a build requires: what… Continue reading Gradle Kotlin DSL 1.0: Basic App Build
Building with Gradle Kotlin DSL 1.0
Big News! (Aug 2018) After what seems like the longest time, Gradle support for using kotlin to drive gradle builds is now at version 1.0. This is the best time for anyone to move to gradle. This page is an introduction to gradle, using kotlin DSL What is a build tool? Which Build Tool? Basic… Continue reading Building with Gradle Kotlin DSL 1.0
Building: No need with python?
Yes, building is needed with python. Python normally uses an environment build approach which allows the developer to run code without noticing a build, and simple programs even when shared can seem to need no build. To get started with programming with python, you just don't notice builds, although usually they become important later. But… Continue reading Building: No need with python?