Editor config and annotations (#738)

* Add annotations support

* Add appropriate .editorconfig
This commit is contained in:
Dmitri Davydok 2018-02-27 11:58:17 -08:00 committed by Adrian Ulrich
parent 0daa514406
commit 18f6934cda
3 changed files with 17 additions and 1 deletions

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root=true
[*]
charset=utf-8
# Unix-style newlines with a newline ending every file
end_of_line=lf
insert_final_newline=true
indent_style=tab
tab_width=4

View File

@ -48,7 +48,7 @@ Contributing code
---------------
* A list of open issues can be found at the [issue tracker][2]
* Features we would like to see (but nobody started working on them yet) have the [patches-welcome][3] label attached to them. Please let us know if you start working on such an open issue (to avoid duplicate work)
* We accept raw patches and github pull request - and we use tabs.
* We accept raw patches and github pull request - and we use tabs (if your editor understands .editorconfig, it will help you enforce this).
Building
========

View File

@ -25,3 +25,7 @@ android {
abortOnError false
}
}
dependencies {
compileOnly 'com.android.support:support-annotations:27.0.2'
}