Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.

Commit 477b213

Browse files
committed
Updates the README with the latest info on how to use the dependency once this is released
1 parent dbd7c83 commit 477b213

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,26 @@ This project uses [sqlite-jdbc](https://bitbucket.org/xerial/sqlite-jdbc) to cre
1212

1313
## Adding to your project
1414

15-
To integrate sqliteAnalyzer into your project, it is recommended for now that you depend directly on the sources. See the setup under the `buildSrc` sub-directory for an example.
15+
To integrate sqliteAnalyzer into your project, it is recommended for now that you depend directly on the sources. See the setup under the
16+
`buildSrc` sub-directory for an example.
1617

17-
After you've added the sources to `buildSrc`, you can start using this library, add these lines to the `build.gradle` of your project:
18+
If you prefer you can use it from jcenter directly, just add these lines to the build.gradle of your project:
1819

1920
```groovy
20-
apply plugin: 'sqlite-access'
21+
buildscript {
22+
repositories {
23+
jcenter()
24+
}
25+
dependencies {
26+
classpath 'com.novoda:sqlite-analyzer:0.0.1-beta'
27+
}
28+
}
29+
```
30+
31+
After you've added the sources to `buildSrc` or added the buildscript dependency, you can start using this library, add these lines to the `build.gradle` of your project:
32+
33+
```groovy
34+
apply plugin: 'sqlite-analyzer'
2135
2236
sqliteAccess {
2337
migrationsDir 'src/main/assets/migrations'

0 commit comments

Comments
 (0)