ViaAprilFools/build.gradle
dependabot[bot] 67f89ced0d
Bump viaversion from 4.6.0-23w03a-SNAPSHOT to 4.6.0-23w04a-SNAPSHOT
Bumps viaversion from 4.6.0-23w03a-SNAPSHOT to 4.6.0-23w04a-SNAPSHOT.

---
updated-dependencies:
- dependency-name: com.viaversion:viaversion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 09:16:26 +00:00

66 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-23w04a-SNAPSHOT"
compileOnly("com.viaversion:viabackwards-common:4.6.0-23w03a-SNAPSHOT") {
exclude group: "com.viaversion", module: "viaversion"
}
compileOnly "org.yaml:snakeyaml:1.33"
}
blossom {
replaceToken("\${version}", project.version, "src/main/java/net/raphimc/viaaprilfools/ViaAprilFools.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
}
}
}