Skip to content

Commit

Permalink
Prepare for release 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Serchinastico committed Mar 22, 2019
1 parent ae4c2e2 commit 964f00f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Add the `detectors` module dependencies to your project and the `dsl` module as

```groovy
dependencies {
lintChecks 'com.github.serchinastico.lin:detectors:0.0.4'
lintChecks 'com.github.serchinastico.lin:detectors:0.0.6'
}
```

Expand All @@ -41,9 +41,9 @@ If you want to write your own detectors with Lin just add the `dsl`, `annotation

```groovy
dependencies {
compileOnly 'com.github.serchinastico.lin:dsl:0.0.4'
compileOnly 'com.github.serchinastico.lin:annotations:0.0.4'
kapt 'com.github.serchinastico.lin:processor:0.0.4'
compileOnly 'com.github.serchinastico.lin:dsl:0.0.6'
compileOnly 'com.github.serchinastico.lin:annotations:0.0.6'
kapt 'com.github.serchinastico.lin:processor:0.0.6'
}
```

Expand Down Expand Up @@ -220,11 +220,11 @@ Internally, Lin uses a DSL for tests that makes a bit easier the simplest scenar

```groovy
dependencies {
testCompile 'com.github.serchinastico.lin:test:0.0.4'
testImplementation 'com.github.serchinastico.lin:test:0.0.6'
// You might still need to load the official Android Lint dependencies for tests
testCompile 'com.android.tools.lint:lint:26.3.0'
testCompile 'com.android.tools.lint:lint-tests:26.3.0'
testCompile 'com.android.tools:testutils:26.3.0'
testImplementation 'com.android.tools.lint:lint:26.3.0'
testImplementation 'com.android.tools.lint:lint-tests:26.3.0'
testImplementation 'com.android.tools:testutils:26.3.0'
}
```

Expand All @@ -234,7 +234,7 @@ Creating a test with the `test` module is pretty easy, just look at an example:
class SomeDetectorTest : LintTest {
// Specify the issue we are covering, in this case an issue created with Lin
override val issue = SomeDetector.issue

@Test
fun inJavaClass_whenSomethingHappens_detectsNoErrors() {
// `expect` can load multiple files to the test project
Expand Down Expand Up @@ -269,4 +269,3 @@ Show the world you're using Lin.
```md
[![Lint tool: Lin](https://img.shields.io/badge/Lint_tool-lin-2e99e9.svg?style=flat)](https://github.com/Serchinastico/Lin)
```

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ allprojects {
apply plugin: "maven-publish"

group = "com.github.serchinastico.lin"
version = "0.0.4"
version = "0.0.6"

repositories {
google()
Expand Down

0 comments on commit 964f00f

Please sign in to comment.