Skip to content

Commit 73514e4

Browse files
committed
Move to using 24.3.0 for lint-apis/checks/tests
Also add a workaround for testutils that can only be downloaded from dl.bintray buy not jcenter.bintray Change-Id: I3a93af71d65764627465d6ab3f7a9300b18ead60
1 parent 4046b74 commit 73514e4

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

build.gradle

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ apply plugin: 'java'
1818

1919
repositories {
2020
jcenter()
21+
// Workaround the issue that testutils is not in jcenter
22+
maven {
23+
url 'https://dl.bintray.com/android/android-tools'
24+
}
2125
flatDir {
2226
dirs 'libs'
2327
}
@@ -27,18 +31,17 @@ repositories {
2731
// See http://tools.android.com/build/studio.
2832
sourceCompatibility = 1.6
2933
dependencies {
30-
compile 'com.android.tools.lint:lint-api:24.3.0-beta3'
31-
compile 'com.android.tools.lint:lint-checks:24.3.0-beta3'
34+
compile 'com.android.tools.lint:lint-api:24.3.0'
35+
compile 'com.android.tools.lint:lint-checks:24.3.0'
3236
testCompile 'junit:junit:4.11'
33-
// TODO(nageshs): Ask AS team why this is not in maven
34-
testCompile(name: 'testutils-24.3.0-beta3', ext: 'jar')
35-
testCompile(name: 'lint-tests', ext: 'jar')
36-
testCompile 'com.android.tools.lint:lint:24.3.0-beta3'
37+
testCompile 'com.android.tools.lint:lint:24.3.0'
38+
testCompile 'com.android.tools.lint:lint-tests:24.3.0'
39+
testCompile 'com.android.tools:testutils:24.3.0'
3740
}
3841

3942
jar {
4043
manifest {
41-
attributes("Lint-Registry": "MyIssueRegistry")
44+
attributes("Lint-Registry": "com.example.google.lint.MyIssueRegistry")
4245
}
4346
}
4447

libs/lint-tests.jar

-20.4 KB
Binary file not shown.

libs/testutils-24.3.0-beta3.jar

-11.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)