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:
parent
d6596c2f63
commit
88ef7822b9
@ -1,5 +1,21 @@
|
|||||||
description = "Api functions for valiobungee"
|
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 {
|
java {
|
||||||
withJavadocJar()
|
withJavadocJar()
|
||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
|
|||||||
@ -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 }}";
|
||||||
|
}
|
||||||
@ -1,2 +1,3 @@
|
|||||||
group=net.limework
|
group=net.limework
|
||||||
version=1.0.0-SNAPSHOT
|
version=1.0.0-SNAPSHOT
|
||||||
|
api-version=v1
|
||||||
Loading…
Reference in New Issue
Block a user