ViaLegacy/build.gradle
dependabot[bot] 99daaba4b2
Bump io.netty:netty-handler from 4.1.88.Final to 4.1.89.Final
Bumps [io.netty:netty-handler](https://github.com/netty/netty) from 4.1.88.Final to 4.1.89.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.1.88.Final...netty-4.1.89.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-handler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-18 13:19:40 +00:00

71 lines
1.6 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-23w07a-SNAPSHOT"
compileOnly "org.yaml:snakeyaml:1.33"
compileOnly "com.google.guava:guava:31.1-jre"
compileOnly "io.netty:netty-handler:4.1.89.Final"
api "net.lenni0451.mcstructs:text:2.2.0"
}
blossom {
replaceToken("\${version}", project.version, "src/main/java/net/raphimc/vialegacy/ViaLegacy.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
}
}
}