mirror of
https://github.com/ViaVersion/ViaLoader.git
synced 2024-11-28 12:48:07 +01:00
01bcca033e
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.3.0-jre to 33.3.1-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 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>
127 lines
3.4 KiB
Groovy
127 lines
3.4 KiB
Groovy
plugins {
|
|
id "java-library"
|
|
id "maven-publish"
|
|
id "net.raphimc.class-token-replacer" version "1.1.3"
|
|
}
|
|
|
|
base {
|
|
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
|
|
compileJava.options.encoding = compileTestJava.options.encoding = javadoc.options.encoding = "UTF-8"
|
|
|
|
group = project.maven_group ?: rootProject.maven_group
|
|
archivesName = project.maven_name ?: rootProject.maven_name
|
|
version = project.maven_version ?: rootProject.maven_version
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
name = "ViaVersion"
|
|
url = "https://repo.viaversion.com"
|
|
}
|
|
maven {
|
|
name = "Lenni0451"
|
|
url = "https://maven.lenni0451.net/everything"
|
|
}
|
|
maven {
|
|
name = "OpenCollab Releases"
|
|
url = "https://repo.opencollab.dev/maven-releases/"
|
|
}
|
|
maven {
|
|
name = "OpenCollab Snapshots"
|
|
url = "https://repo.opencollab.dev/maven-snapshots/"
|
|
}
|
|
maven {
|
|
name = "Minecraft Libraries"
|
|
url = "https://libraries.minecraft.net"
|
|
|
|
content {
|
|
includeGroup "com.mojang"
|
|
}
|
|
}
|
|
maven {
|
|
name = "Jitpack"
|
|
url = "https://jitpack.io"
|
|
|
|
content {
|
|
includeGroup "com.github.Oryxel"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "com.viaversion:viaversion-common:5.0.4-SNAPSHOT"
|
|
compileOnly "com.viaversion:viabackwards-common:5.0.4-SNAPSHOT"
|
|
compileOnly "com.viaversion:viarewind-common:4.0.3-SNAPSHOT"
|
|
compileOnly "net.raphimc:ViaLegacy:3.0.3-SNAPSHOT"
|
|
compileOnly "net.raphimc:viaaprilfools-common:3.0.2-SNAPSHOT"
|
|
compileOnly "net.raphimc:ViaBedrock:0.0.12-SNAPSHOT"
|
|
compileOnly "org.cloudburstmc.netty:netty-transport-raknet:1.0.0.CR3-SNAPSHOT"
|
|
|
|
api "com.google.guava:guava:33.3.1-jre"
|
|
api "org.slf4j:slf4j-api:2.0.16"
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
classTokenReplacer {
|
|
property("\${version}", project.version)
|
|
}
|
|
}
|
|
}
|
|
|
|
java {
|
|
withSourcesJar()
|
|
}
|
|
|
|
jar {
|
|
from("LICENSE") {
|
|
rename { "${it}_${project.name ?: rootProject.name}" }
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
repositories {
|
|
maven {
|
|
name = "Via"
|
|
url = "https://repo.viaversion.com/"
|
|
|
|
credentials(PasswordCredentials)
|
|
authentication {
|
|
basic(BasicAuthentication)
|
|
}
|
|
}
|
|
}
|
|
publications {
|
|
maven(MavenPublication) {
|
|
groupId = project.maven_group
|
|
artifactId = project.maven_name
|
|
version = project.maven_version
|
|
|
|
from components.java
|
|
|
|
pom {
|
|
name = "ViaLoader"
|
|
description = "Implementation of a ViaVersion based protocol translator platform"
|
|
url = "https://github.com/ViaVersion/ViaLoader"
|
|
licenses {
|
|
license {
|
|
name = "GPL-3.0 License"
|
|
url = "https://github.com/ViaVersion/ViaLoader/blob/main/LICENSE"
|
|
}
|
|
}
|
|
developers {
|
|
developer {
|
|
id = "RK_01"
|
|
}
|
|
}
|
|
scm {
|
|
connection = "scm:git:git://github.com/ViaVersion/ViaLoader.git"
|
|
developerConnection = "scm:git:ssh://github.com/ViaVersion/ViaLoader.git"
|
|
url = "https://github.com/ViaVersion/ViaLoader.git"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|