Created
April 24, 2019 12:19
-
-
Save guilhermecarvalhocarneiro/83bee1857aee7b1001d470d4db150889 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.2.1' | |
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