Skip to content

Instantly share code, notes, and snippets.

@alwarren
alwarren / KotlinGradleConversion.md
Last active April 24, 2019 15:41
Documents the process of converting a new Android project to Kotlin Gradle DSL.

Conversion from Gradle to Kotlin DSL

Tips

  • IMPORTANT: Things can break badly if you don't do things in the correct order. Make backups or if you're using version control, create branches that you can recover from.
  • Do changes step-wise. That is, for all gradle files change single quotes, then do syntax changes, then do the plugins block.
  • Sync Gradle often. Make each type of change for files then