From 0d39df9e66b4b25297c01303ee36ca577939bd81 Mon Sep 17 00:00:00 2001 From: Lenni0451 <20379977+Lenni0451@users.noreply.github.com> Date: Sat, 12 Oct 2024 20:18:02 +0200 Subject: [PATCH] 2.0.0 --- build.gradle | 13 +++++++++++++ gradle.properties | 2 +- src/main/resources/viaproxy.yml | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index b5edc6e..dc04dae 100644 --- a/build.gradle +++ b/build.gradle @@ -21,3 +21,16 @@ repositories { dependencies { implementation "net.raphimc:ViaProxy:3.3.4-SNAPSHOT" } + +processResources { + //Config file: "version: ${version}" + inputs.properties( + "version": project.maven_version + ) + + filesMatching("viaproxy.yml") { + expand( + "version": project.maven_version + ) + } +} diff --git a/gradle.properties b/gradle.properties index 0b49fc6..f382e4d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,5 +6,5 @@ org.gradle.configureondemand=true #Maven settings maven_name=NoLocalConnections maven_group=net.lenni0451 -maven_version=1.2 +maven_version=2.0.0 snapshot=false diff --git a/src/main/resources/viaproxy.yml b/src/main/resources/viaproxy.yml index 57d2942..12c6575 100644 --- a/src/main/resources/viaproxy.yml +++ b/src/main/resources/viaproxy.yml @@ -1,5 +1,5 @@ name: "NoLocalConnections" -version: "1.2" +version: "${version}" author: "Lenni0451" main: "net.lenni0451.nolocalconnections.Main" min-version: "3.3.4"