SV gradle update: build.gradle
4 removals
38 lines
8 additions
43 lines
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'gradle-scripts/dependencies.gradle'
apply from: 'gradle-scripts/dependencies.gradle'
buildscript {
buildscript {
ext.kotlin_version = '1.1.0'
ext.kotlin_version = '1.1.0'
repositories {
repositories {
jcenter()
jcenter()
}
}
dependencies {
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
// APT plugin. Used by ButterKnife
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:3.0.0"
classpath "io.realm:realm-gradle-plugin:3.0.0"
classpath 'me.tatarka:gradle-retrolambda:3.6.0'
classpath 'me.tatarka:gradle-retrolambda:3.6.0'
classpath 'com.google.gms:google-services:3.1.0'
classpath 'com.google.gms:google-services:3.1.0'
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.5.0'
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.5.0'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.6.3'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.6.3'
// NOTE: Do not place your application dependencies here; they belong
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// in the individual module build.gradle files
}
}
}
}
allprojects {
allprojects {
repositories {
repositories {
jcenter()
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://jitpack.io" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xmaxerrs" << "1000"
}
}
}
}
task clean(type: Delete) {
task clean(type: Delete) {
delete rootProject.buildDir
delete rootProject.buildDir
}
}