diff --git a/content/posts/publishing-an-android-library-to-github-packages.md b/content/posts/publishing-an-android-library-to-github-packages.md index f61aaa1..4133635 100644 --- a/content/posts/publishing-an-android-library-to-github-packages.md +++ b/content/posts/publishing-an-android-library-to-github-packages.md @@ -88,7 +88,7 @@ afterEvaluate { } ``` -You still need to set some properties in `gradle.properties` +Then, set the `GROUP` and `VERSION` properties in `gradle.properties` ```groovy GROUP=msfjarvis @@ -97,6 +97,8 @@ VERSION=0.1.0-SNAPSHOT And that should be it! You can check the migration commit [here](https://github.com/msfjarvis/github-packages-deployment-sample/commit/260fd3154fd393d3969afd048dc2c77d03619b1d). +When you are ready to publish, run `./gradlew -Pgpr.user= -Pgpr.key= publish` from your repository and everything should correctly deploy. + ### For AGP < 4.0.0 #### Step 1