Out of jitpack
This commit is contained in:
parent
96e1401d0a
commit
266e4e6c4e
3 changed files with 20 additions and 8 deletions
12
README.md
12
README.md
|
@ -9,31 +9,31 @@ You can easily use EntityLib platformless by using the `api` or `common` module
|
||||||
|
|
||||||
Gradle (Groovy DSL):
|
Gradle (Groovy DSL):
|
||||||
```groovy
|
```groovy
|
||||||
//https://jitpack.io/#Tofaa2/EntityLib/
|
//https://maven.evokegames.gg/#/snapshots/me/tofaa/entitylib
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://maven.evokegames.gg/snapshots' }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.Tofaa2.EntityLib:<platform>:<latest-release-version'
|
implementation 'me.tofaa.entitylib:<platform>:<latest-release-version'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Gradle (Kotlin DSL):
|
Gradle (Kotlin DSL):
|
||||||
```kotlin
|
```kotlin
|
||||||
repositories {
|
repositories {
|
||||||
maven(url = "https://jitpack.io")
|
maven(url = "https://maven.evokegames.gg/snapshots")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.github.Tofaa2.EntityLib:<platform>:<latest-release-version>")
|
implementation("me.tofaa.entitylib:<platform>:<latest-release-version>")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Maven:
|
Maven:
|
||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.Tofaa2.EntityLib</groupId>
|
<groupId>me.tofaa.entitylib</groupId>
|
||||||
<artifactId>(platform)</artifactId>
|
<artifactId>(platform)</artifactId>
|
||||||
<version>(latest-release-version)</version>
|
<version>(latest-release-version)</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -45,6 +45,17 @@ tasks {
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url = uri("https://maven.evokegames.gg/snapshots")
|
||||||
|
credentials {
|
||||||
|
username = System.getenv("TYCOONS_REPO_USER")
|
||||||
|
password = System.getenv("TYCOONS_REPO_PASS")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("EntityLib") {
|
create<MavenPublication>("EntityLib") {
|
||||||
groupId = project.group as String
|
groupId = project.group as String
|
||||||
|
|
|
@ -5,14 +5,15 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
maven("https://maven.evokegames.gg/snapshots")
|
||||||
maven("https://repo.papermc.io/repository/maven-public/")
|
maven("https://repo.papermc.io/repository/maven-public/")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly(libs.paper)
|
compileOnly(libs.paper)
|
||||||
compileOnly(libs.packetevents.spigot)
|
compileOnly(libs.packetevents.spigot)
|
||||||
implementation("com.github.Tofaa2.EntityLib:spigot:24887cb05a")
|
implementation("me.tofaa.entitylib:spigot:2.4.5-SNAPSHOT")
|
||||||
implementation(project(":platforms:spigot"))
|
// implementation(project(":platforms:spigot"))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
|
Loading…
Reference in a new issue