mirror of
https://github.com/ViaVersion/ViaLoader.git
synced 2024-11-16 10:55:31 +01:00
55d2b73711
Bumps [org.slf4j:slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/qos-ch/slf4j/releases) - [Commits](https://github.com/qos-ch/slf4j/commits) --- updated-dependencies: - dependency-name: org.slf4j:slf4j-api dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
74 lines
1.7 KiB
Groovy
74 lines
1.7 KiB
Groovy
plugins {
|
|
id "java-library"
|
|
id "maven-publish"
|
|
id "net.kyori.blossom" version "1.3.1"
|
|
}
|
|
|
|
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
|
compileJava.options.encoding = compileTestJava.options.encoding = javadoc.options.encoding = "UTF-8"
|
|
|
|
group = project.maven_group
|
|
archivesBaseName = project.maven_name
|
|
version = project.maven_version
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
name = "Lenni0451"
|
|
url "https://maven.lenni0451.net/releases"
|
|
}
|
|
maven {
|
|
name = "ViaVersion"
|
|
url "https://repo.viaversion.com"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "com.viaversion:viaversion:4.6.0-1.19.4-rc2-SNAPSHOT"
|
|
compileOnly("com.viaversion:viabackwards-common:4.6.0-1.19.4-pre4-SNAPSHOT") {
|
|
exclude group: "com.viaversion", module: "viaversion"
|
|
}
|
|
compileOnly "com.viaversion:viarewind-core:2.0.3-SNAPSHOT"
|
|
compileOnly "net.raphimc:ViaLegacy:2.2.6"
|
|
|
|
api "org.slf4j:slf4j-api:2.0.7"
|
|
api "org.yaml:snakeyaml:2.0"
|
|
}
|
|
|
|
blossom {
|
|
replaceToken("\${version}", project.version, "src/main/java/net/raphimc/viaprotocolhack/ViaProtocolHack.java")
|
|
}
|
|
|
|
java {
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
jar {
|
|
from("LICENSE") {
|
|
rename { "${it}_${project.archivesBaseName}" }
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
repositories {
|
|
maven {
|
|
name = "reposilite"
|
|
url = "https://maven.lenni0451.net/releases"
|
|
credentials(PasswordCredentials)
|
|
authentication {
|
|
basic(BasicAuthentication)
|
|
}
|
|
}
|
|
}
|
|
publications {
|
|
maven(MavenPublication) {
|
|
groupId = project.maven_group
|
|
artifactId = project.maven_name
|
|
version = project.maven_version
|
|
|
|
from components.java
|
|
}
|
|
}
|
|
}
|