Skip to content

Instantly share code, notes, and snippets.

@stargazing-dino
Created October 19, 2019 17:17
Show Gist options
  • Save stargazing-dino/3f99a5b0bb37cc2c270d9c3f78780059 to your computer and use it in GitHub Desktop.
Save stargazing-dino/3f99a5b0bb37cc2c270d9c3f78780059 to your computer and use it in GitHub Desktop.
A gradle build for getting FB and Google auth 10/19/2019
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.2'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
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