build: Add run-velocity, use velocity-proxy from william278

This commit is contained in:
William278 2024-01-11 17:01:19 +00:00
parent 53bdeee74b
commit 08501e84b8

View File

@ -1,6 +1,7 @@
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'xyz.jpenilla.run-velocity' version '2.2.2'
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'org.cadixdev.licenser' version '0.6.1'
id 'org.ajoberstar.grgit' version '5.2.1'
@ -22,11 +23,11 @@ repositories {
mavenCentral()
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
maven { url = 'https://repo.william278.net/releases/' }
maven { url = 'https://repo.william278.net/velocity/' }
maven { url = 'https://jitpack.io/' }
maven { url = 'https://repo.minebench.de/' }
maven { url = 'https://maven.elytrium.net/repo/' }
maven { url = 'https://mvn.exceptionflug.de/repository/exceptionflug-public/' }
maven { url = 'https://repo.william278.net/velocity/' }
}
dependencies {
@ -153,6 +154,12 @@ publishing {
}
}
tasks {
runVelocity {
velocityVersion("3.3.0-SNAPSHOT")
}
}
@SuppressWarnings('GrMethodMayBeStatic')
def versionMetadata() {
// Get if there is a tag for this commit