mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-01-02 22:07:49 +01:00
Enable configuration cache
This commit is contained in:
parent
73286fd946
commit
30df64b4d4
@ -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 {
|
||||
|
@ -14,8 +14,7 @@ val main = setOf(
|
||||
projects.viaversionCommon,
|
||||
projects.viaversionApi,
|
||||
projects.viaversionBukkit,
|
||||
projects.viaversionVelocity,
|
||||
projects.viaversionFabric
|
||||
projects.viaversionVelocity
|
||||
).map { it.path }
|
||||
|
||||
subprojects {
|
||||
|
@ -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 ]
|
||||
|
@ -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() {
|
||||
|
@ -1,2 +0,0 @@
|
||||
dependencies {
|
||||
}
|
@ -10,3 +10,4 @@ velocityVersion=3.4
|
||||
org.gradle.daemon=true
|
||||
org.gradle.configureondemand=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"
|
||||
legacyBukkit = "1.8.8-R0.1-SNAPSHOT"
|
||||
velocity = "3.1.1"
|
||||
viaProxy = "3.3.7-SNAPSHOT"
|
||||
viaProxy = "3.3.8-SNAPSHOT"
|
||||
|
||||
[libraries]
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user