Skip to content

Commit

Permalink
feat: switch to cloudsmith maven
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Jul 22, 2023
1 parent e00f662 commit ced72fa
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 4 deletions.
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,45 @@ Data-driven minecraft in-game documentation with progress visualization.

https://www.curseforge.com/minecraft/mc-mods/modonomicon

## Maven

See https://cloudsmith.io/~klikli-dev/repos/mods/packages/ for available versions.

```gradle
repositories {
...
maven {
url "https://dl.cloudsmith.io/public/klikli-dev/mods/maven/"
content {
includeGroup "com.klikli_dev"
}
}
...
}
```

```gradle
dependencies {
...
compileOnly fg.deobf("com.klikli_dev:modonomicon-${minecraft_version}-common:${modonomicon_version}")
implementation fg.deobf("com.klikli_dev:modonomicon-${minecraft_version}-forge:${modonomicon_version}")
...
}
```

## Thanks

[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=for-the-badge)](https://cloudsmith.com)

Package repository hosting is graciously provided by [Cloudsmith](https://cloudsmith.com).
Package repository hosting is graciously provided by [Cloudsmith](https://cloudsmith.com).
Cloudsmith is the only fully hosted, cloud-native, universal package management solution, that
enables your organization to create, store and share packages in any format, to any place, with total
confidence.
Expand Down
6 changes: 5 additions & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ publishing {
}
repositories {
maven {
url "https://repo.repsy.io/mvn/klikli-dev/mods"
name = "cloudsmith"
url = "https://maven.cloudsmith.io/klikli-dev/mods/"
def releasesRepoUrl = "https://maven.cloudsmith.io/klikli-dev/mods/"
def snapshotsRepoUrl = "https://maven.cloudsmith.io/klikli-dev/mods/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = System.getenv('MAVEN_USER')
password = System.getenv('MAVEN_PASS')
Expand Down
6 changes: 5 additions & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ publishing {
}
repositories {
maven {
url "https://repo.repsy.io/mvn/klikli-dev/mods"
name = "cloudsmith"
url = "https://maven.cloudsmith.io/klikli-dev/mods/"
def releasesRepoUrl = "https://maven.cloudsmith.io/klikli-dev/mods/"
def snapshotsRepoUrl = "https://maven.cloudsmith.io/klikli-dev/mods/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = System.getenv('MAVEN_USER')
password = System.getenv('MAVEN_PASS')
Expand Down
6 changes: 5 additions & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,11 @@ publishing {
}
repositories {
maven {
url "https://repo.repsy.io/mvn/klikli-dev/mods"
name = "cloudsmith"
url = "https://maven.cloudsmith.io/klikli-dev/mods/"
def releasesRepoUrl = "https://maven.cloudsmith.io/klikli-dev/mods/"
def snapshotsRepoUrl = "https://maven.cloudsmith.io/klikli-dev/mods/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = System.getenv('MAVEN_USER')
password = System.getenv('MAVEN_PASS')
Expand Down

0 comments on commit ced72fa

Please sign in to comment.