mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-01-04 23:07:42 +01:00
Enable configuration cache
This commit is contained in:
parent
73286fd946
commit
30df64b4d4
@ -6,8 +6,10 @@ plugins {
|
|||||||
tasks {
|
tasks {
|
||||||
// Variable replacements
|
// Variable replacements
|
||||||
processResources {
|
processResources {
|
||||||
|
val ver = project.version.toString()
|
||||||
|
val desc = project.description
|
||||||
filesMatching(listOf("plugin.yml", "META-INF/sponge_plugins.json", "fabric.mod.json")) {
|
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 {
|
javadoc {
|
||||||
|
@ -14,8 +14,7 @@ val main = setOf(
|
|||||||
projects.viaversionCommon,
|
projects.viaversionCommon,
|
||||||
projects.viaversionApi,
|
projects.viaversionApi,
|
||||||
projects.viaversionBukkit,
|
projects.viaversionBukkit,
|
||||||
projects.viaversionVelocity,
|
projects.viaversionVelocity
|
||||||
projects.viaversionFabric
|
|
||||||
).map { it.path }
|
).map { it.path }
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
name: ViaVersion
|
name: ViaVersion
|
||||||
main: com.viaversion.viaversion.ViaVersionPlugin
|
main: com.viaversion.viaversion.ViaVersionPlugin
|
||||||
authors: [ _MylesC, creeper123123321, Gerrygames, kennytv, Matsv, EnZaXD, RK_01 ]
|
authors: [ _MylesC, creeper123123321, Gerrygames, kennytv, Matsv, EnZaXD, RK_01 ]
|
||||||
version: ${version}
|
version: "${version}"
|
||||||
description: ${description}
|
description: "${description}"
|
||||||
website: ${url}
|
website: "https://viaversion.com"
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
folia-supported: true
|
folia-supported: true
|
||||||
loadbefore: [ ProtocolLib ]
|
loadbefore: [ ProtocolLib ]
|
||||||
|
@ -94,11 +94,6 @@ public final class TestPlatform implements ViaPlatform {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isPluginEnabled() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ViaAPI getApi() {
|
public ViaAPI getApi() {
|
||||||
return new ViaAPIBase() {
|
return new ViaAPIBase() {
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
dependencies {
|
|
||||||
}
|
|
@ -10,3 +10,4 @@ velocityVersion=3.4
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.configureondemand=true
|
org.gradle.configureondemand=true
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
org.gradle.configuration-cache=true
|
||||||
|
@ -19,7 +19,7 @@ checkerQual = "3.48.1"
|
|||||||
paper = "1.20.4-R0.1-SNAPSHOT"
|
paper = "1.20.4-R0.1-SNAPSHOT"
|
||||||
legacyBukkit = "1.8.8-R0.1-SNAPSHOT"
|
legacyBukkit = "1.8.8-R0.1-SNAPSHOT"
|
||||||
velocity = "3.1.1"
|
velocity = "3.1.1"
|
||||||
viaProxy = "3.3.7-SNAPSHOT"
|
viaProxy = "3.3.8-SNAPSHOT"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ pluginManagement {
|
|||||||
// default plugin versions
|
// default plugin versions
|
||||||
plugins {
|
plugins {
|
||||||
id("net.kyori.blossom") version "2.1.0"
|
id("net.kyori.blossom") version "2.1.0"
|
||||||
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
|
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.9"
|
||||||
id("com.gradleup.shadow") version "8.3.0"
|
id("com.gradleup.shadow") version "8.3.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user