| buildscript { |
| repositories { |
| jcenter() |
| maven { url 'https://plugins.gradle.org/m2/' } |
| } |
| dependencies { |
| classpath 'com.android.tools.build:gradle:2.3.0' |
| classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.10' |
| } |
| } |
| |
| subprojects { |
| repositories { |
| jcenter() |
| // maven { |
| // url 'https://oss.sonatype.org/content/repositories/snapshots/' |
| // } |
| // mavenLocal() |
| } |
| |
| apply plugin: 'net.ltgt.errorprone' |
| |
| tasks.withType(JavaCompile) { |
| options.compilerArgs += ['-Xlint:all', |
| '-Xlint:-serial', |
| '-Xlint:-deprecation', |
| '-Werror'] |
| } |
| |
| tasks.withType(Test) { |
| testLogging { |
| exceptionFormat 'FULL' |
| showCauses true |
| showExceptions true |
| showStackTraces true |
| } |
| } |
| } |
| |
| ext { |
| minSdkVersion = 14 |
| compileSdkVersion = 25 |
| targetSdkVersion = compileSdkVersion |
| buildToolsVersion = '25.0.2' |
| javaVersion = JavaVersion.VERSION_1_7 |
| |
| GROUP = 'com.squareup.leakcanary' |
| VERSION_NAME = "1.6-SNAPSHOT" |
| POM_PACKAGING = "pom" |
| POM_DESCRIPTION= "Leak Canary" |
| |
| POM_URL="http://github.com/square/leakcanary/" |
| POM_SCM_URL="http://github.com/square/leakcanary/" |
| POM_SCM_CONNECTION="scm:git:https://github.com/square/leakcanary.git" |
| POM_SCM_DEV_CONNECTION="scm:git:git@github.com:square/leakcanary.git" |
| |
| POM_LICENCE_NAME="The Apache Software License, Version 2.0" |
| POM_LICENCE_URL="http://www.apache.org/licenses/LICENSE-2.0.txt" |
| POM_LICENCE_DIST="repo" |
| |
| POM_DEVELOPER_ID="square" |
| POM_DEVELOPER_NAME="Square, Inc." |
| } |