Skip to content

Instantly share code, notes, and snippets.

@wordyallen
Created December 18, 2017 17:26
Show Gist options
  • Save wordyallen/139616d6d229fac429d882b99e634be5 to your computer and use it in GitHub Desktop.
Save wordyallen/139616d6d229fac429d882b99e634be5 to your computer and use it in GitHub Desktop.
android module notes
  1. edit the following in build.gradle
buildscript {
    ext.kotlin_version = '1.2.10'
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
  1. load in android studio and try to build. Chose "dont' remind me for this project again" when promted then add all the kotlin depndencies. add boilerplate code for android stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment