@@ -31,7 +31,7 @@ Add the `detectors` module dependencies to your project and the `dsl` module as
31
31
32
32
``` groovy
33
33
dependencies {
34
- lintChecks 'com.github.serchinastico.lin:detectors:0.0.4 '
34
+ lintChecks 'com.github.serchinastico.lin:detectors:0.0.6 '
35
35
}
36
36
```
37
37
@@ -41,9 +41,9 @@ If you want to write your own detectors with Lin just add the `dsl`, `annotation
41
41
42
42
``` groovy
43
43
dependencies {
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 '
47
47
}
48
48
```
49
49
@@ -220,11 +220,11 @@ Internally, Lin uses a DSL for tests that makes a bit easier the simplest scenar
220
220
221
221
``` groovy
222
222
dependencies {
223
- testCompile 'com.github.serchinastico.lin:test:0.0.4 '
223
+ testImplementation 'com.github.serchinastico.lin:test:0.0.6 '
224
224
// 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'
228
228
}
229
229
```
230
230
@@ -234,7 +234,7 @@ Creating a test with the `test` module is pretty easy, just look at an example:
234
234
class SomeDetectorTest : LintTest {
235
235
// Specify the issue we are covering, in this case an issue created with Lin
236
236
override val issue = SomeDetector .issue
237
-
237
+
238
238
@Test
239
239
fun inJavaClass_whenSomethingHappens_detectsNoErrors () {
240
240
// `expect` can load multiple files to the test project
@@ -269,4 +269,3 @@ Show the world you're using Lin.
269
269
``` md
270
270
[](https://github.com/Serchinastico/Lin)
271
271
```
272
-
0 commit comments