mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-03 06:28:53 +00:00
Update to 1.17
This commit is contained in:
5 files changed
+20
-17
No files matched your search
+17
-14
@@ -10,17 +10,20 @@ plugins {
|
|||||||
id("org.ajoberstar.grgit") version "4.1.0"
|
id("org.ajoberstar.grgit") version "4.1.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
configure<JavaPluginConvention> {
|
the<JavaPluginExtension>().toolchain {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
languageVersion.set(JavaLanguageVersion.of(16))
|
||||||
targetCompatibility = sourceCompatibility
|
}
|
||||||
|
|
||||||
|
tasks.compileJava.configure {
|
||||||
|
options.release.set(8)
|
||||||
|
}
|
||||||
|
|
||||||
|
configurations.all {
|
||||||
|
attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 16)
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven {
|
|
||||||
name = "Spigot"
|
|
||||||
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
|
|
||||||
}
|
|
||||||
maven {
|
maven {
|
||||||
name = "Paper"
|
name = "Paper"
|
||||||
url = uri("https://papermc.io/repo/repository/maven-public/")
|
url = uri("https://papermc.io/repo/repository/maven-public/")
|
||||||
@@ -30,21 +33,21 @@ repositories {
|
|||||||
url = uri("https://libraries.minecraft.net/")
|
url = uri("https://libraries.minecraft.net/")
|
||||||
}
|
}
|
||||||
maven {
|
maven {
|
||||||
name = "IntellectualSites 3rd Party"
|
name = "IntellectualSites"
|
||||||
url = uri("https://mvn.intellectualsites.com/content/repositories/thirdparty")
|
url = uri("https://mvn.intellectualsites.com/content/groups/public/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnlyApi("org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT")
|
compileOnlyApi("io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT")
|
||||||
compileOnlyApi("com.mojang:authlib:1.5.25")
|
compileOnlyApi("com.mojang:authlib:1.5.25")
|
||||||
implementation(enforcedPlatform("org.apache.logging.log4j:log4j-bom:2.8.1") {
|
implementation(enforcedPlatform("org.apache.logging.log4j:log4j-bom:2.14.1") {
|
||||||
because("Spigot provides Log4J (sort of, not in API, implicitly part of server)")
|
because("Spigot provides Log4J (sort of, not in API, implicitly part of server)")
|
||||||
})
|
})
|
||||||
implementation("org.apache.logging.log4j:log4j-api")
|
implementation("org.apache.logging.log4j:log4j-api")
|
||||||
implementation("org.bstats:bstats-bukkit:2.2.1")
|
implementation("org.bstats:bstats-bukkit:2.2.1")
|
||||||
implementation("org.bstats:bstats-base:2.2.1")
|
implementation("org.bstats:bstats-base:2.2.1")
|
||||||
implementation("com.github.cryptomorin:XSeries:8.1.0")
|
implementation("com.github.cryptomorin:XSeries:8.2.0")
|
||||||
implementation("org.incendo.serverlib:ServerLib:2.2.1")
|
implementation("org.incendo.serverlib:ServerLib:2.2.1")
|
||||||
implementation("io.papermc:paperlib:1.0.6")
|
implementation("io.papermc:paperlib:1.0.6")
|
||||||
}
|
}
|
||||||
@@ -57,7 +60,7 @@ configurations.findByName("compileClasspath")?.apply {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var rootVersion by extra("2.0.0")
|
var rootVersion by extra("2.1.1")
|
||||||
var buildNumber by extra("")
|
var buildNumber by extra("")
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
@@ -78,7 +81,7 @@ tasks.named<ShadowJar>("shadowJar") {
|
|||||||
archiveClassifier.set(null as String?)
|
archiveClassifier.set(null as String?)
|
||||||
dependencies {
|
dependencies {
|
||||||
relocate("com.cryptomorin.xseries", "net.arcaniax.utils") {
|
relocate("com.cryptomorin.xseries", "net.arcaniax.utils") {
|
||||||
include(dependency("com.github.cryptomorin:XSeries:8.1.0"))
|
include(dependency("com.github.cryptomorin:XSeries:8.2.0"))
|
||||||
}
|
}
|
||||||
relocate("org.bstats", "net.arcaniax.buildersutilities.metrics") {
|
relocate("org.bstats", "net.arcaniax.buildersutilities.metrics") {
|
||||||
include(dependency("org.bstats:bstats-base:2.2.1"))
|
include(dependency("org.bstats:bstats-base:2.2.1"))
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
@@ -72,7 +72,7 @@ case "`uname`" in
|
|||||||
Darwin* )
|
Darwin* )
|
||||||
darwin=true
|
darwin=true
|
||||||
;;
|
;;
|
||||||
MINGW* )
|
MSYS* | MINGW* )
|
||||||
msys=true
|
msys=true
|
||||||
;;
|
;;
|
||||||
NONSTOP* )
|
NONSTOP* )
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ commands:
|
|||||||
description: alias
|
description: alias
|
||||||
fs:
|
fs:
|
||||||
description: alias
|
description: alias
|
||||||
help:
|
bu help:
|
||||||
description: Help command
|
description: Help command
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
Reference in new issue
Block a user