Skip to content

Commit

Permalink
Merge pull request #392 from couchbase/RichardSmedley-patch-5
Browse files Browse the repository at this point in the history
Snapshot installation
  • Loading branch information
RichardSmedley authored Oct 17, 2023
2 parents 4e67527 + e59e65c commit 5792b9c
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions modules/project-docs/pages/sdk-full-installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,47 @@ Refer to the xref:project-docs:sdk-release-notes.adoc[Release Notes] for further
You can also find links to the hosted javadocs there.



[snapshots]
== Using a Snapshot Version

Couchbase publishes pre-release snapshot artifacts to the Sonatype OSS Snapshot Repository.
If you wish to use a snapshot version, you'll need to tell your build tool about this repository.

[{tabs}]
====
Maven::
+
--
.`*pom.xml*`
[source,xml]
----
<repositories>
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
----
--
Gradle (Groovy)::
+
--
.`*build.gradle*`
[source,groovy]
----
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent { snapshotsOnly() }
}
}
----
--
====

0 comments on commit 5792b9c

Please sign in to comment.