Moved to using the new repository

- Updated some extensions
- Removed GriefPreventionPlus extension since it was no longer
  available anywhere for installing

Affects issues:
- Close #1779
This commit is contained in:
Risto Lahtela 2021-03-05 14:27:30 +02:00
parent 92cefaafa3
commit b7af2a5717
4 changed files with 12 additions and 14 deletions

View File

@ -9,16 +9,16 @@ ext.apiVersion = '5.2-R0.1'
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/plan-player-analytics/Plan")
name = "plan-repo"
url = uri("https://repo.playeranalytics.net/releases")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
username = "user"
password = System.getenv("REPOSILITE_TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
apiArtifact(MavenPublication) {
from components.java
groupId 'com.djrapitops'
artifactId 'plan-api'

View File

@ -95,7 +95,7 @@ subprojects {
ext.nkPlaceholderapiVersion = "1.3-SNAPSHOT"
repositories {
jcenter()
mavenCentral()
maven { // Spigot Repository
url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"
}
@ -121,7 +121,7 @@ subprojects {
url = "https://repo.codemc.org/repository/maven-public"
}
maven { // Plan Repository
url = "https://dl.bintray.com/rsl1122/Plan-repository"
url = "https://repo.playeranalytics.net/releases"
}
}

View File

@ -4,8 +4,8 @@ dependencies {
compile 'com.djrapitops:Extension-AdvancedAchievements:1.1-R0.3'
compile 'com.djrapitops:Extension-AdvancedBan:2.1.5-R0.10'
compile 'com.djrapitops:Extension-ASkyBlock:3.0.9.4-R0.5'
compile 'com.djrapitops:Extension-BanManager:5.15.0-R0.5'
compile 'com.djrapitops:Extension-BentoBox:1.10.0-R0.2'
compile 'com.djrapitops:Extension-BanManager:7.3.1-R0.1'
compile 'com.djrapitops:Extension-BentoBox:1.15.5-R0.1'
compile 'com.djrapitops:Extension-CoreProtect:2.16.0-R0.4'
compile 'com.djrapitops:Extension-DiscordSRV:1.18.0-R0.3'
compile 'com.djrapitops:Extension-DKBans:2.1.2-R0.2'
@ -17,8 +17,7 @@ dependencies {
compile 'com.djrapitops:Extension-GriefDefender:R0.2'
compile 'com.djrapitops:Extension-GriefPrevention:16.11.6-R0.2'
compile 'com.djrapitops:Extension-GriefPrevention-Sponge:4.0.1-R0.2'
compile 'com.djrapitops:Extension-GriefPreventionPlus:13.3-R0.2'
compile 'com.djrapitops:Extension-Jobs:4.13.1-R0.1'
compile 'com.djrapitops:Extension-Jobs:4.16.3-R0.1'
compile 'com.djrapitops:Extension-Litebans:0.3.2-R0.1'
compile 'com.djrapitops:Extension-LuckPerms:5.0-R0.2'
compile 'com.djrapitops:Extension-McMMO:2.1.149-R1.3'
@ -26,11 +25,11 @@ dependencies {
compile 'com.djrapitops:Extension-Nucleus:2.3.0-R0.1'
compile 'com.djrapitops:Extension-nuVotifier:2.3.4-R0.3'
compile 'com.djrapitops:Extension-ProtocolSupport:1.16.4-R0.1'
compile 'com.djrapitops:Extension-RedProtect:7.5.6-R0.3'
compile 'com.djrapitops:Extension-RedProtect:7.7.3-R0.1'
compile 'com.djrapitops:Extension-Sponge-Economy:7.1.0-R0.3'
compile 'com.djrapitops:Extension-SuperbVote:0.5.4-R0.1'
compile 'com.djrapitops:Extension-Tebex:R0.6'
compile 'com.djrapitops:Extension-Towny:0.92.0.0-R0.1'
compile 'com.djrapitops:Extension-Towny:0.96.7.4-R0.1'
compile 'com.djrapitops:Extension-Vault:1.7-R0.3'
compile 'com.djrapitops:Extension-ViaVersion:2.1.3-R1.4'
}

View File

@ -74,7 +74,6 @@ public class ExtensionRegister {
register(new GriefDefenderExtensionFactory(), GriefDefenderExtensionFactory::createExtension);
register(new GriefPreventionExtensionFactory(), GriefPreventionExtensionFactory::createExtension);
register(new GriefPreventionSpongeExtensionFactory(), GriefPreventionSpongeExtensionFactory::createExtension);
register(new GriefPreventionPlusExtensionFactory(), GriefPreventionPlusExtensionFactory::createExtension);
register(new JobsExtensionFactory(), JobsExtensionFactory::createExtension);
register(new LitebansExtensionFactory(), LitebansExtensionFactory::createExtension, LitebansExtensionFactory::registerEvents);
register(new LuckPermsExtensionFactory(), LuckPermsExtensionFactory::createExtension);