Kotlin: Sandbox Projects

With Python you easily have a whole group of small test programs within a single folder, which provides a simple 'sandbox' environment to try tests and experiments that go beyond what can be done in the Idle REPL.  This page describes how to create Kotlin 'sandbox' project that provides a simple solution to creating Kotlin… Continue reading Kotlin: Sandbox Projects

Advertisements

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

Building in Intellij IDEA

This program is relevant for building your first "hello world" and first sample kotlin apps.  However, once you have even hello world running, it is recommended now to move to gradle for building, even when building with Intellij. The topics for this page: Introduction: why use Intellij at all. The Roles on an IDE What… Continue reading Building in Intellij IDEA

Scheduling: Schedule, design, code?

Or perhaps: schedule, design, build?  Either way, while that sequence may sound like waterfall, even agile is really a repetition of this sequence over and over.  This page discusses why these 3 steps are problematic for software, but still must be followed despite problems, and how to schedule projects using this sequence that initially can… Continue reading Scheduling: Schedule, design, code?

Gradle with Intellij: Using build.gradle

When first opening a kotlin project that has a gradle configuration, If you haven't installed gradle, check the following tutorial to install it: https://gradle.org/install/ Open Intellij: Open: If Intellij is already running: From "File" menu, click "Open" If Intellij is not already running: Choose "Import Project" Select the build.gradle from the project you want to open Click "Open as… Continue reading Gradle with Intellij: Using 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