Add custom lint rule project.

This commit is contained in:
Alan Evans
2020-05-01 16:19:24 -03:00
committed by Greyson Parrelli
parent 7f17b66a6c
commit 456857bbbd
10 changed files with 195 additions and 4 deletions

20
lintchecks/build.gradle Normal file
View File

@@ -0,0 +1,20 @@
apply plugin: 'java-library'
repositories {
google()
jcenter()
}
dependencies {
compileOnly 'com.android.tools.lint:lint-api:26.6.3'
compileOnly 'com.android.tools.lint:lint-checks:26.6.3'
testImplementation 'com.android.tools.lint:lint-tests:26.6.3'
testImplementation 'junit:junit:4.12'
}
jar {
manifest {
attributes('Lint-Registry-v2': 'org.signal.lint.Registry')
}
}