Added support annotation library dependency.
The specific reason for this is that it provides @Null and @NotNull annotations which should increase the safety of our code. Many of the bugs which get filed are due to NullPointerExceptions, which could be avoided by tooling using these annotations. The goal is to statically catch this specific class of errors in as many situations as possible, rather than waiting for them to occur at runtime.
This commit is contained in:
parent
c8a62a8e79
commit
405a31a415
@ -47,6 +47,15 @@ project(':extern:UniversalImageLoader:library') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
project(':support-annotations') {
|
||||||
|
|
||||||
|
// The support-annotations build.gradle uses the mavenDeployer method, which requires
|
||||||
|
// this plugin. Even though no artifacts are being deployed, this is still required
|
||||||
|
// for the build script to work.
|
||||||
|
apply plugin: 'maven'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
project(':extern:zipsigner') {
|
project(':extern:zipsigner') {
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
|
@ -20,3 +20,6 @@ project(':support-v4').projectDir = new File('extern/Support/v4')
|
|||||||
include ':support-appcompat-v7'
|
include ':support-appcompat-v7'
|
||||||
project(':support-appcompat-v7').projectDir = new File('extern/Support/v7/appcompat')
|
project(':support-appcompat-v7').projectDir = new File('extern/Support/v7/appcompat')
|
||||||
|
|
||||||
|
include ':support-annotations'
|
||||||
|
project(':support-annotations').projectDir = new File('extern/Support/annotations')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user