mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-27 10:49:13 +00:00
Upgraded to Gradle 8.1
This commit is contained in:
@@ -7,14 +7,14 @@ plugins {
|
||||
|
||||
tasks {
|
||||
named<Jar>("jar") {
|
||||
archiveClassifier.set("unshaded")
|
||||
archiveClassifier = "unshaded"
|
||||
from(project.rootProject.file("LICENSE"))
|
||||
}
|
||||
|
||||
val shadowJar = named<ShadowJar>("shadowJar") {
|
||||
archiveBaseName.set("floodgate-${project.name}")
|
||||
archiveVersion.set("")
|
||||
archiveClassifier.set("")
|
||||
archiveBaseName = "floodgate-${project.name}"
|
||||
archiveVersion = ""
|
||||
archiveClassifier = ""
|
||||
|
||||
val sJar: ShadowJar = this
|
||||
|
||||
@@ -37,7 +37,7 @@ tasks {
|
||||
|
||||
val destinationDir = System.getenv("DESTINATION_DIRECTORY");
|
||||
if (destinationDir != null) {
|
||||
destinationDirectory.set(file(destinationDir))
|
||||
destinationDirectory = file(destinationDir)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
org.gradle.configureondemand=true
|
||||
org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
||||
systemProp.org.gradle.unsafe.kotlin.assignment=true
|
||||
|
||||
version=2.2.2-SNAPSHOT
|
||||
micronautVersion=3.9.0
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
|
||||
networkTimeout=10000
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
var log4jVersion = "2.11.2"
|
||||
var gsonVersion = "2.8.8"
|
||||
var guavaVersion = "25.1-jre"
|
||||
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.isolation)
|
||||
compileOnlyApi("com.velocitypowered", "velocity-api", Versions.velocityVersion)
|
||||
}
|
||||
|
||||
tasks {
|
||||
@@ -17,9 +14,9 @@ tasks {
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
from (configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
|
||||
|
||||
archiveBaseName.set("floodgate-${project.name}")
|
||||
archiveVersion.set("")
|
||||
archiveClassifier.set("")
|
||||
archiveBaseName = "floodgate-${project.name}"
|
||||
archiveVersion = ""
|
||||
archiveClassifier = ""
|
||||
|
||||
val velocityBaseJar = project.projects
|
||||
.velocityBase.dependencyProject
|
||||
|
||||
Reference in New Issue
Block a user