Skip to content

Commit

Permalink
v2.1.6
Browse files Browse the repository at this point in the history
-Update repo
  • Loading branch information
Jake-Moore committed Jul 24, 2024
1 parent 1b0e0e8 commit 654784e
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 38 deletions.
64 changes: 29 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,57 +21,51 @@ Forks not supported (and not planned)

Before you can use FactionIntegrations, you have to import it into your project.

### Import with Maven

Add the following Repository to your pom.xml

### Repository Information
Add the following Repository to your build file.
#### Maven [pom.xml]:
```xml
<repository>
<id>luxious-public</id>
<name>Luxious Repository</name>
<url>https://nexus.luxiouslabs.net/public</url>
<url>https://repo.luxiouslabs.net/repository/maven-public/</url>
</repository>
```
#### Gradle (kotlin) [build.gradle.kts]:
```kotlin
maven {
name = "luxiousPublic"
url = uri("https://repo.luxiouslabs.net/repository/maven-public/")
}
```
#### Gradle (groovy) [build.gradle]:
```groovy
maven {
name "luxiousPublic"
url "https://repo.luxiouslabs.net/repository/maven-public/"
}
```

Then add the following dependency
Replace `{VERSION}` with the version listed at the top of this page.

### Dependency Information
Add the following dependency to your build file.
Replace `{VERSION}` with the version listed at the top of this page.
#### Maven Dependency [pom.xml]
```xml
<dependency>
<groupId>com.kamikazejam</groupId>
<artifactId>factionintegrations</artifactId>
<artifactId>FactionIntegrations</artifactId>
<version>{VERSION}</version>
<scope>provided</scope>
<scope>compile</scope>
</dependency>
```

&nbsp;

### Import with Gradle

```kotlin
maven {
name = "luxiousPublic"
url = uri("https://nexus.luxiouslabs.net/public")
}
#### Gradle Dependency (groovy) [build.gradle]
```groovy
implementation "com.kamikazejam:FactionIntegrations:{VERSION}"
```

Then add the following dependency
Replace `{VERSION}` with the version listed at the top of this page.

#### Gradle Dependency (kotlin) [build.gradle.kts]
```kotlin
compileOnly 'com.kamikazejam:factionintegrations:{VERSION}'
implementation("com.kamikazejam:FactionIntegrations:{VERSION}")
```

## Supported Factions Forks:

- AtlasFactions
- SupremeFactions
- StellarFactions
- SavageFactions
- SaberFactionsX
- SaberFactions
- LockedThread
- VulcanFactions
- FactionsUUID
- MassiveCore Factions
11 changes: 8 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@Suppress("PropertyName")
var VERSION = "2.1.5"
var VERSION = "2.1.6"

plugins { // needed for the subprojects section to work
id("java")
Expand Down Expand Up @@ -34,7 +34,7 @@ allprojects {
mavenLocal()
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://nexus.luxiouslabs.net/public")
maven("https://repo.luxiouslabs.net/repository/maven-public/")
maven {
name = "luxiousFactionsLibs"
url = uri("https://nexus.luxiouslabs.net/factions-libs")
Expand Down Expand Up @@ -97,11 +97,16 @@ publishing {

repositories {
maven {
url = uri("https://nexus.luxiouslabs.net/public")
credentials {
username = System.getenv("LUXIOUS_NEXUS_USER")
password = System.getenv("LUXIOUS_NEXUS_PASS")
}
// Select URL based on version (if it's a snapshot or not)
url = if (project.version.toString().endsWith("-SNAPSHOT")) {
uri("https://repo.luxiouslabs.net/repository/maven-snapshots/")
}else {
uri("https://repo.luxiouslabs.net/repository/maven-releases/")
}
}
}
}
Expand Down

0 comments on commit 654784e

Please sign in to comment.