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
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
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
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?
(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
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
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