/
build.gradle
48 lines (39 loc) · 919 Bytes
/
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
apply plugin: 'java'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.11.3'
}
}
apply plugin: 'com.github.ben-manes.versions'
repositories {
jcenter()
}
dependencies {
compile 'com.android.tools.lint:lint-api:24.5.0'
compile 'com.android.tools.lint:lint-checks:24.5.0'
compile 'com.android.tools.lint:lint:24.5.0'
compile gradleApi()
testCompile 'com.android.tools.lint:lint-tests:24.5.0'
}
jar {
baseName 'com.getbase.lint'
version '1.0'
manifest {
attributes 'Manifest-Version': 1.0
attributes 'Lint-Registry': 'com.getbase.lint.CustomIssueRegistry'
}
}
configurations {
lintChecks
}
dependencies {
lintChecks files(jar)
}
task install(type: Copy) {
from configurations.lintChecks
into System.getProperty("user.home") + '/.android/lint/'
}