Short article about migrating a KMP project to usi...
# feed
j
Short article about migrating a KMP project to using Amper https://johnoreilly.dev/posts/amper-kmp-climatetrace/
👍 11
👍🏻 1
amper 7
r
Nice diffstat: 419 additions and 4,637 deletions.
z
To be fair, a lot of the deletions are from removing things like 3000 lines of
kotlin-js-store/yarn.lock
, so those are not directly comparable numbers
👍 3
j
Yeah, probably lot of stuff checked in that shouldn't have been!
l
@John O'Reilly Does it generate gradle.build.kts files for you under the hood? Also for target source sets is only the new standard DefaultHierarchyTemplate supported?
z
Amper doesn't generate
build.gradle.kts
files under the hood. It's currently implemented as a Gradle plugin, which processes the module manifests and then talks to Gradle APIs to set up the project. On the source set question, the default KMP layout is indeed like the default hierarchy template with Gradle, but you can also add additional source sets using aliases. You can find more info about this under the Project layout and Multi-platform configuration sections of the docs.
👍 1
Also, for everyone in general, questions and discussions are more than welcome in the #amper channel!
K 1
💚 1