mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2026-06-04 00:56:54 +00:00
Use new strategy for loading in dependencies
This commit is contained in:
+4
-3
@@ -2,6 +2,7 @@ plugins {
|
|||||||
java
|
java
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
idea
|
idea
|
||||||
|
id("dev.plex.module") version "1.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.plex"
|
group = "dev.plex"
|
||||||
@@ -36,9 +37,9 @@ dependencies {
|
|||||||
implementation("dev.plex:server:1.6")
|
implementation("dev.plex:server:1.6")
|
||||||
implementation("org.json:json:20251224")
|
implementation("org.json:json:20251224")
|
||||||
implementation("org.reflections:reflections:0.10.2")
|
implementation("org.reflections:reflections:0.10.2")
|
||||||
implementation("org.eclipse.jetty:jetty-server:12.1.9")
|
plexLibrary("org.eclipse.jetty:jetty-server:12.1.9")
|
||||||
implementation("org.eclipse.jetty.ee10:jetty-ee10-servlet:12.1.9")
|
plexLibrary("org.eclipse.jetty.ee10:jetty-ee10-servlet:12.1.9")
|
||||||
implementation("org.eclipse.jetty:jetty-proxy:12.1.9")
|
plexLibrary("org.eclipse.jetty:jetty-proxy:12.1.9")
|
||||||
implementation("com.github.MilkBowl:VaultAPI:1.7.1") {
|
implementation("com.github.MilkBowl:VaultAPI:1.7.1") {
|
||||||
exclude("org.bukkit", "bukkit")
|
exclude("org.bukkit", "bukkit")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,18 @@
|
|||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
maven("https://nexus.telesphoreo.me/repository/gradle-plugins-releases/")
|
||||||
|
maven("https://nexus.telesphoreo.me/repository/gradle-plugins-snapshots/")
|
||||||
|
gradlePluginPortal()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
resolutionStrategy {
|
||||||
|
eachPlugin {
|
||||||
|
if (requested.id.id == "dev.plex.module") {
|
||||||
|
useModule("dev.plex:plex-modules-gradle-plugin:${requested.version}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
rootProject.name = "Module-HTTPD"
|
rootProject.name = "Module-HTTPD"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user