fix: remove lamp and update code
Some checks failed
publish / build (push) Failing after 2m10s

This commit is contained in:
unurled 2025-06-18 14:51:44 +00:00
parent 6fa9824ef8
commit c7b2e78eb5
No known key found for this signature in database
GPG key ID: 63B897371792D3D8
6 changed files with 20 additions and 34 deletions

View file

@ -1,16 +1,19 @@
import org.gradle.api.artifacts.repositories.AuthenticationSupported
import org.gradle.authentication.http.HttpHeaderAuthentication
import org.gradle.api.credentials.HttpHeaderCredentials
plugins {
java
`maven-publish`
id("com.gradleup.shadow") version "9.0.0-beta4"
id("io.papermc.paperweight.userdev") version "2.0.0-beta.10"
id("io.papermc.paperweight.userdev") version "2.0.0-beta.17"
id("org.sonarqube") version "5.1.0.4882"
}
group = "me.unurled"
version = "0.2.0"
version = "0.3.0"
val mcVersion = "1.21.4-R0.1-SNAPSHOT"
val lampVersion = "4.0.0-beta.17"
val javaVersion = 23
@ -22,10 +25,6 @@ repositories {
dependencies {
paperweight.paperDevBundle(mcVersion)
implementation("io.github.revxrsal:lamp.common:${lampVersion}")
implementation("io.github.revxrsal:lamp.bukkit:${lampVersion}")
implementation("io.github.revxrsal:lamp.brigadier:${lampVersion}")
implementation("io.github.revxrsal:lamp.paper:${lampVersion}")
}
java {
@ -66,11 +65,14 @@ tasks.register<Jar>("javadocJar") {
publishing {
repositories {
maven {
name = "repounurledme"
url = uri("https://repo.unurled.me/releases")
credentials(PasswordCredentials::class)
name = "SacredRealms"
url = uri("https://git.unurled.me/api/packages/SacredRealms/maven")
credentials(HttpHeaderCredentials::class) {
name = "Authorization"
value = "token " + project.findProperty("mavenToken")
}
authentication {
create<BasicAuthentication>("basic")
create<HttpHeaderAuthentication>("header")
}
}
}