-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle
54 lines (48 loc) · 1.36 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
buildscript {
ext.compile_version = 28
ext.min_version = 26
ext.target_version = 28
ext.support_version = '28.0.0'
ext.butterknife_version = '9.0.0-rc2'
ext.adapter_helper = '2.9.36'
ext.leakcanary_version = '1.5.4'
ext.retrofit_version = '2.4.0'
ext.okhttp_verison = '3.10.0'
repositories {
google()
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.1'
classpath "com.jakewharton:butterknife-gradle-plugin:${butterknife_version}"
classpath 'com.liulishuo.okcheck:gradle:0.1.8'
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
}
apply plugin: 'com.jakewharton.butterknife'
if(project.name != "zbar") {
apply plugin: 'okcheck'
okcheck {
checkstyle {
ignoreFailures = true
}
findbugs {
ignoreFailures = true
}
pmd {
ignoreFailures = false
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}