Kotlin

Version: 2.4.0darwinlinuxwindows

Kotlin is a modern, statically typed, and general-purpose programming language developed by JetBrains. It fully interoperates with Java and is primarily known as the preferred, official language for Android development. It focuses on conciseness, null-safety, and multiplatform support.

Key Features

Installation Instructions

Linux
Depends on:java

Download Kotlin
{
  "url": "{{ .SVar `.tool.kotlin.download.url` }}",
  "destination_folder": "{{ .PDownloads }}",
  "output_filename": "{{ .SVar `.tool.kotlin.download.filename` }}",
  "overwrite": false
}
Extract Kotlin Release
{
  "destination": "{{ .PTools }}/kotlin/{{ .SVar `.tool.kotlin.download.version` }}",
  "max_file_size": 0,
  "skip_symlinks": false,
  "preserve_permissions": true,
  "remove_existing": true,
  "source": "{{ .PDownloads }}/{{ .SVar `.tool.kotlin.download.filename` }}"
}
Move files up one level to simplify directory structure
{
  "source": "{{ .PTools }}/kotlin/{{ .SVar `.tool.kotlin.download.version` }}/*/*",
  "destination": "{{ .PTools }}/kotlin/{{ .SVar `.tool.kotlin.download.version` }}",
  "overwrite_duplicates": false
}

MacOS
Depends on:java

Download Kotlin
{
  "url": "{{ .SVar `.tool.kotlin.download.url` }}",
  "destination_folder": "{{ .PDownloads }}",
  "output_filename": "{{ .SVar `.tool.kotlin.download.filename` }}",
  "overwrite": false
}
Extract Kotlin Release
{
  "destination": "{{ .PTools }}/kotlin/{{ .SVar `.tool.kotlin.download.version` }}",
  "max_file_size": 0,
  "skip_symlinks": false,
  "preserve_permissions": true,
  "remove_existing": true,
  "source": "{{ .PDownloads }}/{{ .SVar `.tool.kotlin.download.filename` }}"
}
Move files up one level to simplify directory structure
{
  "source": "{{ .PTools }}/kotlin/{{ .SVar `.tool.kotlin.download.version` }}/*/*",
  "destination": "{{ .PTools }}/kotlin/{{ .SVar `.tool.kotlin.download.version` }}",
  "overwrite_duplicates": false
}

Binaries