Skip to content

sureshg/kmp-amper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

56 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Kotlin Multiplatform CLI

A Kotlin Multiplatform command-line application targeting macOS, Windows, Linux, and JVM platforms, built with Amper build tools. This project demonstrates a pleasant cross-platform development experience with modern Kotlin tooling.

Usage

# Update the amper
$ ./amper update --dev

# Build the app and create an executable jar
$ ./amper build [-v release]
$ ./amper package

# Run the tests
$ ./amper test

# Run the app
$ ./amper run --jvm-args=--enable-preview -m jvm
$ ./amper run -m macos --platform macosArm64

# Check version updates in amper version catalog
$ brew install deezer/repo/caupain
$ caupain

# Publish to mavenLocal
$ ./amper publish mavenLocal

# List all the binaries
$  find . \( -path "*/build/*" -type f -perm +111 -o -path "*/build/tasks/*executableJar*/*.jar" \) | grep -v -E "(test|debug|dSYM)" | xargs du -h | sort -hr

Amper Config Settings

Configuration ๐Ÿ“ Description ๐ŸŽฏ Applies To
settings.kotlin Settings for the Kotlin compiler, thus only apply to Kotlin sources ๐ŸŸฃ Kotlin sources
settings.java Settings for the Java compiler, thus only apply to Java sources โ˜• Java sources
settings.jvm Settings that apply to both Java and Kotlin sources (some common compiler options, settings related to the JDK in general, to the test JVM, etc.) ๐Ÿ”„ Both Java and Kotlin sources

About

๐Ÿ› Amper playground for Kotlin JVM & Multiplatform apps

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •