From 266e4e6c4edbe54b78f84364dcf81e5c7ea04c51 Mon Sep 17 00:00:00 2001 From: Tofaa <82680183+Tofaa2@users.noreply.github.com> Date: Fri, 26 Jul 2024 11:38:45 +0400 Subject: [PATCH] Out of jitpack --- README.md | 12 ++++++------ .../kotlin/entitylib.library-conventions.gradle.kts | 11 +++++++++++ test-plugin/build.gradle.kts | 5 +++-- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d8b97a6..f84637e 100644 --- a/README.md +++ b/README.md @@ -9,31 +9,31 @@ You can easily use EntityLib platformless by using the `api` or `common` module Gradle (Groovy DSL): ```groovy -//https://jitpack.io/#Tofaa2/EntityLib/ +//https://maven.evokegames.gg/#/snapshots/me/tofaa/entitylib repositories { - maven { url 'https://jitpack.io' } + maven { url 'https://maven.evokegames.gg/snapshots' } } dependencies { - implementation 'com.github.Tofaa2.EntityLib::::") + implementation("me.tofaa.entitylib::") } ``` Maven: ```xml - com.github.Tofaa2.EntityLib + me.tofaa.entitylib (platform) (latest-release-version) diff --git a/buildSrc/src/main/kotlin/entitylib.library-conventions.gradle.kts b/buildSrc/src/main/kotlin/entitylib.library-conventions.gradle.kts index 3f5dcfa..45a6ec5 100644 --- a/buildSrc/src/main/kotlin/entitylib.library-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/entitylib.library-conventions.gradle.kts @@ -45,6 +45,17 @@ tasks { } publishing { + + repositories { + maven { + url = uri("https://maven.evokegames.gg/snapshots") + credentials { + username = System.getenv("TYCOONS_REPO_USER") + password = System.getenv("TYCOONS_REPO_PASS") + } + } + } + publications { create("EntityLib") { groupId = project.group as String diff --git a/test-plugin/build.gradle.kts b/test-plugin/build.gradle.kts index 8d63c5c..fe65dd0 100644 --- a/test-plugin/build.gradle.kts +++ b/test-plugin/build.gradle.kts @@ -5,14 +5,15 @@ plugins { } repositories { + maven("https://maven.evokegames.gg/snapshots") maven("https://repo.papermc.io/repository/maven-public/") } dependencies { compileOnly(libs.paper) compileOnly(libs.packetevents.spigot) - implementation("com.github.Tofaa2.EntityLib:spigot:24887cb05a") - implementation(project(":platforms:spigot")) + implementation("me.tofaa.entitylib:spigot:2.4.5-SNAPSHOT") +// implementation(project(":platforms:spigot")) } tasks {