@@ -28,7 +28,7 @@ In the *android-components* repository update the version number [in the configu
After changing the components code you can publish your version to your local maven repository. You can either publish all components or just a specific ones:
```Bash
```bash
# Publish all components to your local Maven repository:
In your app project locate the `repositories` block inside your build.gradle and add `mavenLocal()` to the list:
```Groovy
```groovy
repositories{
mavenLocal()
google()
...
...
@@ -48,6 +48,16 @@ repositories {
}
```
Also add `mavenLocal()` to the build.gradle in the 'app' module:
```groovy
buildscript{
repositories{
mavenLocal()
}
}
```
*Note*: There may be two `repositories` blocks in your root build.gradle. One for `buildscript` and one for `allprojects`. Make sure to add it to the `allprojects` block or to a build.gradle file inside a specific gradle module.
After that update the version number of your component dependency in your app's build files. Gradle will now resolve the dependency from your local maven repository and you can test your changes inside the app.