Created
July 31, 2019 20:08
-
-
Save guilhermecarvalhocarneiro/e519c5b2e1ddb0f37de8c26a8afed546 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
ext.kotlin_version = '1.2.71' | |
repositories { | |
google() | |
jcenter() | |
maven { url 'https://maven.fabric.io/public' } | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:3.3.0' | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
classpath 'com.google.gms:google-services:4.2.0' | |
classpath 'io.fabric.tools:gradle:1.26.1' | |
} | |
} | |
plugins { | |
id 'org.jetbrains.kotlin.jvm' version '1.3.30' | |
} | |
allprojects { | |
repositories { | |
google() | |
jcenter() | |
maven { url 'https://dl.bintray.com/android/android-tools' } | |
} | |
} | |
rootProject.buildDir = '../build' | |
subprojects { | |
project.buildDir = "${rootProject.buildDir}/${project.name}" | |
} | |
subprojects { | |
project.evaluationDependsOn(':app') | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" | |
} | |
compileKotlin { | |
kotlinOptions { | |
jvmTarget = "1.8" | |
} | |
} | |
compileTestKotlin { | |
kotlinOptions { | |
jvmTarget = "1.8" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment