Created
April 24, 2019 13:27
-
-
Save guilhermecarvalhocarneiro/907c7b65792713f64267fe325f6bdc44 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.0.1' | |
classpath 'io.fabric.tools:gradle: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