-
Notifications
You must be signed in to change notification settings - Fork 4.1k
/
build.gradle
executable file
·40 lines (34 loc) · 1.01 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
buildscript {
repositories {
jcenter()
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath 'com.vanniktech:gradle-android-javadoc-plugin:0.4.0-SNAPSHOT'
classpath 'digital.wup:android-maven-publish:3.6.2'
classpath "gradle.plugin.com.dorongold.plugins:task-tree:1.4"
}
}
def isReleaseBuild() {
return version.contains("SNAPSHOT") == false
}
allprojects {
group = 'com.loopj.android'
version = '1.4.11'
repositories {
google()
jcenter()
mavenCentral()
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.compilerArgs << "-Xlint:unchecked"
options.compilerArgs << "-Xlint:deprecation"
}
}
apply plugin: 'android-reporting'
apply plugin: 'com.vanniktech.android.javadoc'
apply plugin: 'com.dorongold.task-tree'