Skip to content

Commit

Permalink
Amulet to jfrog
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberpwnn committed Sep 5, 2022
1 parent 9ddf409 commit 8c696d7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 19 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

A very simple collections & general util api

[![Latest version of 'Amulet' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/arcane/archive/maven/Amulet/latest/a=noarch;xg=art.arcane/?render=true&show_latest=true)](https://cloudsmith.io/~arcane/repos/archive/packages/detail/maven/Amulet/latest/a=noarch;xg=art.arcane/)
![](https://img.shields.io/github/v/release/ArcaneArts/Amulet?color=%236f24f0&display_name=tag&label=Amulet&sort=semver&style=for-the-badge)

```groovy
maven { url "https://dl.cloudsmith.io/public/arcane/archive/maven/" }
maven { url "https://arcanearts.jfrog.io/artifactory/archives" }
```

```groovy
implementation 'art.arcane:Amulet:<VERSION>'
```

Manifold Version: `2021.1.24`
Manifold Version: `2022.1.19`

See the full [Project Setup](https://github.com/ArcaneArts/Amulet#project-setup)

Expand Down
45 changes: 29 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ plugins {
id 'java-library'
id 'maven-publish'
id "io.freefair.lombok" version "6.1.0"
id 'com.jfrog.artifactory' version '4.29.0'
}

group 'art.arcane'
version 'latest'
version System.getenv("JFROG_VERSION") ?: '1.0.0'

java {
toolchain {
Expand All @@ -33,7 +34,8 @@ java {
}

repositories {
maven { url "https://dl.cloudsmith.io/public/arcane/archive/maven/" }
mavenLocal()
maven { url "https://arcanearts.jfrog.io/artifactory/archives" }
mavenCentral()
}

Expand All @@ -49,18 +51,18 @@ jar {

dependencies {
annotationProcessor 'com.google.dagger:dagger-compiler:2.42'
annotationProcessor 'systems.manifold:manifold-ext:2022.1.18'
testAnnotationProcessor 'systems.manifold:manifold-ext:2022.1.18'
annotationProcessor 'systems.manifold:manifold-ext:2022.1.19'
testAnnotationProcessor 'systems.manifold:manifold-ext:2022.1.19'
implementation 'com.google.dagger:dagger:2.40.1'
implementation 'org.reflections:reflections:0.10.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
implementation 'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2'
implementation 'com.google.guava:guava:31.1-jre'
implementation 'org.apache.commons:commons-lang3:3.12.0'
api 'com.google.code.gson:gson:2.9.0'
api 'systems.manifold:manifold-rt:2022.1.18'
api 'systems.manifold:manifold-ext-rt:2022.1.18'
api 'systems.manifold:manifold-rt:2022.1.19'
api 'systems.manifold:manifold-ext-rt:2022.1.19'
api 'art.arcane:BitPack:22.7.2'
api 'art.arcane:NBTSon:22.7.7'
api 'art.arcane:MultiBurst:22.7.3'
Expand All @@ -72,6 +74,24 @@ test {
useJUnitPlatform()
}

artifactory {
publish {
contextUrl = 'https://arcanearts.jfrog.io/artifactory'
repository {
repoKey = 'arcane'
username = System.getenv("JFROG_USERNAME")
password = System.getenv("JFROG_PASSWORD")
}
defaults {
publications ('mavenJava')
publishConfigs('archives', 'published')
publishBuildInfo = true
publishArtifacts = true
publishPom = true
}
}
}

publishing {
publications {
mavenJava(MavenPublication) {
Expand All @@ -80,14 +100,7 @@ publishing {
}
repositories {
maven {
name = "cloudsmith"
version = System.getenv("CLOUDSMITH_VERSION")
url = "https://maven.cloudsmith.io/arcane/archive/"
url = "https://maven.cloudsmith.io/arcane/archive/"
credentials {
username = System.getenv("CLOUDSMITH_USERNAME")
password = System.getenv("CLOUDSMITH_PASSWORD")
}
url = "https://arcanearts.jfrog.io/artifactory/arcane"
}
}
}
Expand Down

0 comments on commit 8c696d7

Please sign in to comment.