Skip to content

Instantly share code, notes, and snippets.

@dharmakshetri
Last active August 25, 2017 05:06
Show Gist options
  • Select an option

  • Save dharmakshetri/993de01e83c1d935504af048a87be058 to your computer and use it in GitHub Desktop.

Select an option

Save dharmakshetri/993de01e83c1d935504af048a87be058 to your computer and use it in GitHub Desktop.
build.gradle project
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.1.2-4'
repositories {
google()
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta1'
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
classpath 'com.google.gms:google-services:3.1.0'
classpath 'io.fabric.tools:gradle:1.+'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment