mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-08 16:10:26 +00:00
rewrite init
This commit is contained in:
22
core/build.gradle.kts
Normal file
22
core/build.gradle.kts
Normal file
@@ -0,0 +1,22 @@
|
||||
plugins {
|
||||
alias(libs.plugins.blossom)
|
||||
alias(libs.plugins.indragit)
|
||||
}
|
||||
|
||||
description = "Core functions for valiobungee"
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
blossom {
|
||||
javaSources {
|
||||
property("version", version.toString())
|
||||
property("git", indraGit.commit().get().name)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
withJavadocJar()
|
||||
withSourcesJar()
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2026-present ValioBungee contributors
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the GNU GENERAL PUBLIC LICENSE Version 3
|
||||
* which accompanies this distribution, and is available at
|
||||
* https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
*/
|
||||
package net.limework.valiobungee.core;
|
||||
|
||||
public class ConstantVariables {
|
||||
|
||||
public static final String VERSION = "{{ version }}";
|
||||
public static final String GIT_COMMIT = "{{ git }}";
|
||||
|
||||
public static String getGithubCommitLink() {
|
||||
return "https://github.com/ProxioDev/ValioBungee/commit/" + GIT_COMMIT;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user