Skip to content

Instantly share code, notes, and snippets.

@mohsenoid
Created December 23, 2017 15:30
Show Gist options
  • Save mohsenoid/f702f6d68fea6ede2d293d801306e03f to your computer and use it in GitHub Desktop.
Save mohsenoid/f702f6d68fea6ede2d293d801306e03f to your computer and use it in GitHub Desktop.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.10'
ext.protobufVersion = '0.8.3'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.protobuf:protobuf-gradle-plugin:$protobufVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment