Task: Add Maven, Gradle Repository Guide for local content and caching
This commit is contained in:
40
README.md
40
README.md
@@ -1,2 +1,40 @@
|
|||||||
# maven-gradle-repo-guide
|
# Maven Gradle Repo Guide
|
||||||
|
|
||||||
|
- Apache Maven
|
||||||
|
```xml
|
||||||
|
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>CUBETIQ Directory</id>
|
||||||
|
<url>https://nexus.kh.cubetiqs.com/repository/maven/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>CUBETIQ Directory Snapshots</id>
|
||||||
|
<url>https://nexus.kh.cubetiqs.com/repository/maven-snapshots/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
- Gradle Groovy DSL
|
||||||
|
```groovy
|
||||||
|
repositories {
|
||||||
|
maven { url "https://nexus.kh.cubetiqs.com/repository/maven/" }
|
||||||
|
maven { url "https://nexus.kh.cubetiqs.com/repository/maven-snapshots/" }
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- Gradle Kotlin DSL
|
||||||
|
```kotlin
|
||||||
|
repositories {
|
||||||
|
maven("https://nexus.kh.cubetiqs.com/repository/maven/")
|
||||||
|
maven("https://nexus.kh.cubetiqs.com/repository/maven-snapshots/")
|
||||||
|
}
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user