r/KotlinToolchain • • Oct 04 '26

Announcement Welcome to r/KotlinToolchain

1 Upvotes

r/KotlinToolchain • • 5d ago

Announcement JetBrains added a full "Migrating from Gradle" guide

12 Upvotes

Highlights:

  • libs.versions.toml: works as $libs.* (no [plugins]/[bundles])
  • Convention plugins: *.module-template.yaml (custom tasks become plugins)
  • JVM setup: auto-provisioned JDKs, JUnit 5 by default, single settings.jvm.release
  • src/commonMain/kotlin: src/ (layout: maven-like for JVM-only modules)
  • Auto-converter: none, recommends AI agents with Kotlin Toolchain skills
  • ./gradlew stop: The Kotlin Toolchain doesn't have a daemon to stop (lol)

Migrating from Gradle


r/KotlinToolchain • • 10d ago

Recipe iOS app to TestFlight in 1 command (zero Fastlane)

4 Upvotes

Replaces Ruby, Fastfile, and ExportOptions.plist:

product: ios/app

Publish with kotlin publish testflight


r/KotlinToolchain • • 12d ago

Announcement Kotlin Toolchain 0.14: The Technical Highlights (iOS App Publishing, Android Desugaring, Incremental Fixes)

15 Upvotes

Highlights:

  • iOS App Publishing (Preview): Publish iOS apps directly via kotlin publish
  • Android Desugaring: Java 8+ API desugaring support for Android
  • Android Dependency Variants: Handles release/debug variant attributes (BuildTypeAttr) for Android dependencies
  • klibs.io Integration: Optional klibs.io notifications when publishing KMP libraries to Maven Central
  • Incremental Build Fixes: Fixes Compose Resources breaking incrementality, unshared module snapshots, and compiler-version snapshot collisions
  • Breaking & Deprecations: applicationId is now required for android/app; settings.kotlin.serialization.format is deprecated in favor of $kotlin.serialization.*

GitHub Release


r/KotlinToolchain • • Oct 15 '26

Discussion What's blocking you from trying the Kotlin Toolchain?

4 Upvotes

With v0.13 now officially recommended for most new KMP projects, what's currently holding you back in a real or side project?


r/KotlinToolchain • • Oct 13 '26

Recipe Fat JAR in 1 line of module.yaml

3 Upvotes

Replaces shadowJar and 30+ lines of build.gradle.kts:

product: jvm/app

Package with kotlin package


r/KotlinToolchain • • Oct 08 '26

Announcement Kotlin Toolchain 0.13: The Technical Highlights (SwiftPM, Native Compiler Caches, Compose Resources)

2 Upvotes

With v0.13, JetBrains now officially recommends the Kotlin Toolchain for most new KMP projects. Highlights:

  • SwiftPM Import: Native Swift Package Manager dependency support for Apple targets
  • Native Compiler Caches: Per-file caching for faster iOS and native rebuilds
  • Compose Resources: Full support for consuming and publishing multiplatform resources in libraries
  • Auto iOS Setup: Automatic Xcode diagnostics and iOS simulator runtime provisioning
  • Interactive CLI Wizard: Create new projects directly with kotlin new
  • "Amper" Purged: AMPER_BUILD_DIR -> KOTLIN_TOOLCHAIN_BUILD_DIR; layout amper -> default

Updated default versions: Kotlin 2.4.20, Compose 1.12.1, Ktor 3.6.0, KSP 2.3.12

JetBrains Announcement Blog | GitHub Release


r/KotlinToolchain • • Oct 06 '26

Recipe KMP library in 3 lines of module.yaml

2 Upvotes

Replaces 40+ lines of build.gradle.kts with zero plugins or sourceSets:

product:
  type: kmp/lib
  platforms: [jvm, android, iosArm64, iosSimulatorArm64, iosX64, macosArm64, linuxX64, linuxArm64]

r/KotlinToolchain • • Oct 04 '26

Discussion Kotlin Toolchain will eventually drop Gradle for Android (via Joffrey Bion on Slack)

16 Upvotes

Someone on the Kotlin Slack asked if the Kotlin Toolchain will ever build Android apps without Gradle

Joffrey Bion (from the JetBrains Kotlin Toolchain team) confirmed that the long-term plan is to drop Gradle entirely and call Android SDK tools directly, though it will take time and help from Google

What runs natively today (No Gradle):

  • SDK provisioning & dependencies
  • Compilation & AAR packaging
  • Unit tests & emulators

What still delegates to Gradle for now:

  • Mockable android.jar (asked Google to decouple this)
  • R class generation
  • APK/AAB packaging (D8/R8, manifests, signing)

Pretty cool that building Android without Gradle is an actual official goal tbh