Enable Gradle configuration cache

This commit is contained in:
Nassim Jahnke 2024-12-29 12:59:34 +01:00
parent b197c758b5
commit 4265866c93
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
5 changed files with 10 additions and 5 deletions

View File

@ -5,8 +5,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/backwards")
expand("version" to ver, "description" to desc)
}
}
javadoc {

View File

@ -14,7 +14,6 @@ val main = setOf(
projects.viabackwardsCommon,
projects.viabackwardsBukkit,
projects.viabackwardsVelocity,
projects.viabackwardsSponge,
projects.viabackwardsFabric
).map { it.path }

View File

@ -6,6 +6,6 @@ api-version: 1.13
folia-supported: true
authors: [Matsv, kennytv, Gerrygames, creeper123123321, ForceUpdate1, EnZaXD]
website: ${url}
website: "https://viaversion.com/backwards"
depend: [ViaVersion]

View File

@ -4,3 +4,7 @@ projectVersion=5.2.1-SNAPSHOT
mcVersions=1.21.4,1.21.3,1.21.2,1.21.1,1.21,1.20.6,1.20.5,1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10
mcVersionRange=1.10-1.21.4
velocityVersion=3.4
org.gradle.configureondemand=true
org.gradle.parallel=true
org.gradle.configuration-cache=true

View File

@ -14,8 +14,8 @@ dependencyResolutionManagement {
pluginManagement {
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"
}
}