ViaLegacy/build.gradle
dependabot[bot] 472b4f7b87
Bump com.google.guava:guava from 31.1-jre to 32.0.0-jre
Bumps [com.google.guava:guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-28 14:15:51 +00:00

67 lines
1.5 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 = "ViaVersion"
url "https://repo.viaversion.com"
}
}
dependencies {
compileOnly "com.viaversion:viaversion:4.6.0-1.19.4-pre1-SNAPSHOT"
compileOnly "org.yaml:snakeyaml:2.0"
compileOnly "com.google.guava:guava:32.0.0-jre"
compileOnly "io.netty:netty-handler:4.1.93.Final"
api "net.lenni0451.mcstructs:text:2.2.5"
}
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
}
}
}