Skip to content

Commit 4504774

Browse files
committed
Add Snapshot link sample to Readme
1 parent 88c5b99 commit 4504774

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.adoc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,25 @@ Java 12+).
3939
Releases are available from
4040
https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.spockframework%22[Maven
4141
Central]. Development snapshots are available from
42-
https://oss.sonatype.org/content/repositories/snapshots/org/spockframework/[Sonatype
42+
https://central.sonatype.com/repository/maven-snapshots/org/spockframework/spock-core/maven-metadata.xml[Sonatype
4343
OSS].
4444

45+
==== Snapshot Releases
46+
47+
Snapshots can be used by adding the Sonatype OSS repository:
48+
49+
[source,groovy,subs="attributes"]
50+
----
51+
repositories {
52+
// ...
53+
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
54+
}
55+
56+
dependencies {
57+
testImplementation 'org.spockframework:spock-core:{spock-snapshot-version}-groovy-4.0-SNAPSHOT'
58+
}
59+
----
60+
4561
==== Ad-Hoc Intermediate Releases
4662

4763
For intermediate stable builds we recommend to use

0 commit comments

Comments
 (0)