Enable configuration cache

This commit is contained in:
Nassim Jahnke 2024-12-29 12:52:05 +01:00
parent 73286fd946
commit 30df64b4d4
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
8 changed files with 11 additions and 16 deletions

View File

@ -6,8 +6,10 @@ plugins {
tasks {
// Variable replacements
processResources {
val ver = project.version.toString()
val desc = project.description
filesMatching(listOf("plugin.yml", "META-INF/sponge_plugins.json", "fabric.mod.json")) {
expand("version" to project.version, "description" to project.description, "url" to "https://viaversion.com")
expand("version" to ver, "description" to desc)
}
}
javadoc {

View File

@ -14,8 +14,7 @@ val main = setOf(
projects.viaversionCommon,
projects.viaversionApi,
projects.viaversionBukkit,
projects.viaversionVelocity,
projects.viaversionFabric
projects.viaversionVelocity
).map { it.path }
subprojects {

View File

@ -1,9 +1,9 @@
name: ViaVersion
main: com.viaversion.viaversion.ViaVersionPlugin
authors: [ _MylesC, creeper123123321, Gerrygames, kennytv, Matsv, EnZaXD, RK_01 ]
version: ${version}
description: ${description}
website: ${url}
version: "${version}"
description: "${description}"
website: "https://viaversion.com"
api-version: 1.13
folia-supported: true
loadbefore: [ ProtocolLib ]

View File

@ -94,11 +94,6 @@ public final class TestPlatform implements ViaPlatform {
return false;
}
@Override
public boolean isPluginEnabled() {
return false;
}
@Override
public ViaAPI getApi() {
return new ViaAPIBase() {

View File

@ -1,2 +0,0 @@
dependencies {
}

View File

@ -10,3 +10,4 @@ velocityVersion=3.4
org.gradle.daemon=true
org.gradle.configureondemand=true
org.gradle.parallel=true
org.gradle.configuration-cache=true

View File

@ -19,7 +19,7 @@ checkerQual = "3.48.1"
paper = "1.20.4-R0.1-SNAPSHOT"
legacyBukkit = "1.8.8-R0.1-SNAPSHOT"
velocity = "3.1.1"
viaProxy = "3.3.7-SNAPSHOT"
viaProxy = "3.3.8-SNAPSHOT"
[libraries]

View File

@ -15,8 +15,8 @@ pluginManagement {
// default plugin versions
plugins {
id("net.kyori.blossom") version "2.1.0"
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
id("com.gradleup.shadow") version "8.3.0"
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.9"
id("com.gradleup.shadow") version "8.3.5"
}
}