@@ -31,7 +31,7 @@ Add the `detectors` module dependencies to your project and the `dsl` module as
3131
3232``` groovy
3333dependencies {
34- lintChecks 'com.github.serchinastico.lin:detectors:0.0.4 '
34+ lintChecks 'com.github.serchinastico.lin:detectors:0.0.6 '
3535}
3636```
3737
@@ -41,9 +41,9 @@ If you want to write your own detectors with Lin just add the `dsl`, `annotation
4141
4242``` groovy
4343dependencies {
44- compileOnly 'com.github.serchinastico.lin:dsl:0.0.4 '
45- compileOnly 'com.github.serchinastico.lin:annotations:0.0.4 '
46- kapt 'com.github.serchinastico.lin:processor:0.0.4 '
44+ compileOnly 'com.github.serchinastico.lin:dsl:0.0.6 '
45+ compileOnly 'com.github.serchinastico.lin:annotations:0.0.6 '
46+ kapt 'com.github.serchinastico.lin:processor:0.0.6 '
4747}
4848```
4949
@@ -220,11 +220,11 @@ Internally, Lin uses a DSL for tests that makes a bit easier the simplest scenar
220220
221221``` groovy
222222dependencies {
223- testCompile 'com.github.serchinastico.lin:test:0.0.4 '
223+ testImplementation 'com.github.serchinastico.lin:test:0.0.6 '
224224 // You might still need to load the official Android Lint dependencies for tests
225- testCompile 'com.android.tools.lint:lint:26.3.0'
226- testCompile 'com.android.tools.lint:lint-tests:26.3.0'
227- testCompile 'com.android.tools:testutils:26.3.0'
225+ testImplementation 'com.android.tools.lint:lint:26.3.0'
226+ testImplementation 'com.android.tools.lint:lint-tests:26.3.0'
227+ testImplementation 'com.android.tools:testutils:26.3.0'
228228}
229229```
230230
@@ -234,7 +234,7 @@ Creating a test with the `test` module is pretty easy, just look at an example:
234234class SomeDetectorTest : LintTest {
235235 // Specify the issue we are covering, in this case an issue created with Lin
236236 override val issue = SomeDetector .issue
237-
237+
238238 @Test
239239 fun inJavaClass_whenSomethingHappens_detectsNoErrors () {
240240 // `expect` can load multiple files to the test project
@@ -269,4 +269,3 @@ Show the world you're using Lin.
269269``` md
270270[ ![ Lint tool: Lin] ( https://img.shields.io/badge/Lint_tool-lin-2e99e9.svg?style=flat )] ( https://github.com/Serchinastico/Lin )
271271```
272-
0 commit comments