3 ms·
Here's the reference for building for Android with Gradle: http://kotlinlang.org/docs/reference/using-gradle.html#targeting-android http://kotlinlang.org/docs/r
by kensuke155 11y ago
Here's the reference for building for Android with Gradle: http://kotlinlang.org/docs/reference/using-gradle.html#targeting-android http://kotlinlang.org/docs/reference/using-gradle.html#targe...
And other build tools: http://kotlinlang.org/docs/tutorials/build-tools.html http://kotlinlang.org/docs/tutorials/build-tools.html
- e12e 11y agoThank you for the reminder, I'd looked at that, and forgot while figuring out why the "android sdk" skeleton didn't work (see note above about manually patching the build-file). At least now I should be able to get a proper java skeleton, fix the build, add support for kotlin. Only missing piece would be a supported "pure" kotlin Android project/skeleton generator. At some point I also looked at the Android example at the bottom of that page: https://github.com/JetBrains/kotlin-examples/tree/master/gradle/android-mixed-java-kotlin-project https://github.com/JetBrains/kotlin-examples/tree/master/gra... -- that is also IDE centric, and hasn't been touched in a while. Which doesn't leave me very confident that it's been tested with Android 5.1 and/or 6 alpha. I suppose I'll just have to push out a "howistart"-article if/when I figure out a process that is both easy and repeatable, and hope someone will help with filing bugs as it inevitably drifts towards being outdated as the android landscape changes :-)