Skip to content

Commit f127435

Browse files
Add SNAPSHOTs to README
1 parent 7904073 commit f127435

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,24 @@ dependencies {
3535
}
3636
```
3737

38+
It is possible to fetch SNAPSHOTs by adding the repository to your Gradle config, as per the [sonatype documentation](https://central.sonatype.org/publish/publish-portal-snapshots/#consuming-via-gradle):
39+
40+
```
41+
repositories {
42+
maven {
43+
name = 'Central Portal Snapshots'
44+
url = 'https://central.sonatype.com/repository/maven-snapshots/'
45+
46+
// Only search this repository for the specific dependency
47+
content {
48+
includeModule("io.mavsdk", "mavsdk")
49+
includeModule("io.mavsdk", "mavsdk-server")
50+
}
51+
}
52+
mavenCentral()
53+
}
54+
```
55+
3856
### ProGuard
3957

4058
ProGuard users may need to add the following rule:

0 commit comments

Comments
 (0)