mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2025-06-07 08:56:17 +02:00
feat: added permission checks to server, reworked login process, upgraded gradle, upgraded loom
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
8203d74b90
commit
8b7e576d3d
14 changed files with 136 additions and 74 deletions
|
@ -34,6 +34,13 @@ val mavenVersion = System.getenv("CI_COMMIT_TAG") ?: System.getenv("CI_COMMIT_SH
|
|||
val modId: String by project
|
||||
val modName: String by project
|
||||
|
||||
/*
|
||||
* Gimbal version stuff
|
||||
* */
|
||||
|
||||
val gimbalProtocolVersion = 2
|
||||
|
||||
|
||||
val mavenGroup: String by project
|
||||
val mavenArtifact: String by project
|
||||
|
||||
|
@ -50,6 +57,9 @@ group = mavenGroup
|
|||
project.base.archivesName.set(mavenArtifact)
|
||||
|
||||
repositories {
|
||||
maven { // Dependency api
|
||||
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
|
||||
}
|
||||
}
|
||||
|
||||
fabricApi {
|
||||
|
@ -66,6 +76,10 @@ dependencies {
|
|||
modImplementation("net.fabricmc:fabric-language-kotlin:$fabricKotlinVersion")
|
||||
|
||||
modImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion")
|
||||
modApi("me.lucko:fabric-permissions-api:0.2-SNAPSHOT")
|
||||
{
|
||||
exclude(group = "net.fabricmc")
|
||||
}
|
||||
}
|
||||
|
||||
val targetJavaVersion = 17
|
||||
|
@ -76,6 +90,7 @@ val templateProps = mapOf(
|
|||
"modVersion" to project.version as String,
|
||||
"modId" to modId,
|
||||
"modName" to modName,
|
||||
"protocolVersion" to gimbalProtocolVersion,
|
||||
"minecraftVersion" to minecraftVersion,
|
||||
"fabricLoaderVersion" to fabricLoaderVersion,
|
||||
"fabricKotlinVersion" to fabricKotlinVersion,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue