2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-02 21:20:47 +00:00

make an api version

This commit is contained in:
Mohammed Alteneiji 2026-04-01 12:56:30 +04:00
parent d6596c2f63
commit 88ef7822b9
Signed by: ham1255
GPG Key ID: EF343502046229F4
3 changed files with 39 additions and 1 deletions

View File

@ -1,5 +1,21 @@
description = "Api functions for valiobungee"
plugins {
alias(libs.plugins.blossom)
alias(libs.plugins.indragit)
}
sourceSets {
main {
blossom {
javaSources {
property("apiversion", project.property("api-version").toString())
}
}
}
}
java {
withJavadocJar()
withSourcesJar()

View File

@ -0,0 +1,21 @@
/*
* Copyright (c) 2026 ValioBungee contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.limework.valiobungee.api;
public class APIConstantVariables {
public static final String API_VERSION = "{{ apiversion }}";
}

View File

@ -1,2 +1,3 @@
group=net.limework
version=1.0.0-SNAPSHOT
version=1.0.0-SNAPSHOT
api-version=v1