From f49dc3fae00894e0a26bd99a1c431ac884bc6605 Mon Sep 17 00:00:00 2001 From: Timon Back Date: Mon, 27 May 2024 20:13:56 +0200 Subject: [PATCH] docs: add details for testing with SNAPSHOT versions --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 555ffed4f..d3ef00ac3 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,8 @@ Add the following to the `repositories` closure in `build.gradle`: repositories { // ... maven { - url "https://s01.oss.sonatype.org/content/repositories/snapshots" + url "https://s01.oss.sonatype.org/content/repositories/snapshots" // build.gradle + // url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") // build.gradle.kts } } ``` @@ -149,7 +150,9 @@ Or add the `repository` to your `pom.xml` if you are using maven: #### Local Snapshot Build -To work with local builds, run the `publishToMavenLocal` task. The current version number is set in [`.env`](.env) file. +To test with local builds, run the `publishToMavenLocal` gradle task. The current version number is set in [`.env`](.env) file. + +Do not forget to add `mavenLocal()` to the `repositories` section. ### 👏 Contributors @@ -213,4 +216,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d To add yourself as a contributor, install the [all-contributors CLI](https://allcontributors.org/docs/en/cli/installation) and run: 1. `all-contributors check` 2. `all-contributors add code` -3. `all-contributors generate` \ No newline at end of file +3. `all-contributors generate`