mirror of
https://github.com/ViaVersion/ViaLegacy.git
synced 2025-01-23 21:51:29 +01:00
Updated gradle
This commit is contained in:
parent
34d518cb4c
commit
517afa3d8f
16
build.gradle
16
build.gradle
@ -4,12 +4,14 @@ plugins {
|
|||||||
id "net.kyori.blossom" version "1.3.1"
|
id "net.kyori.blossom" version "1.3.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
base {
|
||||||
compileJava.options.encoding = compileTestJava.options.encoding = javadoc.options.encoding = "UTF-8"
|
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
||||||
|
compileJava.options.encoding = compileTestJava.options.encoding = javadoc.options.encoding = "UTF-8"
|
||||||
|
|
||||||
group = project.maven_group
|
group = project.maven_group ?: rootProject.maven_group
|
||||||
archivesBaseName = project.maven_name
|
archivesName = project.maven_name ?: rootProject.maven_name
|
||||||
version = project.maven_version
|
version = project.maven_version ?: rootProject.maven_version
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -30,7 +32,7 @@ dependencies {
|
|||||||
|
|
||||||
blossom {
|
blossom {
|
||||||
replaceToken("\${version}", project.version, "src/main/java/net/raphimc/vialegacy/ViaLegacy.java")
|
replaceToken("\${version}", project.version, "src/main/java/net/raphimc/vialegacy/ViaLegacy.java")
|
||||||
replaceToken("\${impl_version}", "git-${project.archivesBaseName}-${project.version}:${latestCommitHash()}", "src/main/java/net/raphimc/vialegacy/ViaLegacy.java")
|
replaceToken("\${impl_version}", "git-${project.name}-${project.version}:${latestCommitHash()}", "src/main/java/net/raphimc/vialegacy/ViaLegacy.java")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
@ -40,7 +42,7 @@ java {
|
|||||||
|
|
||||||
jar {
|
jar {
|
||||||
from("LICENSE") {
|
from("LICENSE") {
|
||||||
rename { "${it}_${project.archivesBaseName}" }
|
rename { "${it}_${project.name ?: rootProject.name}" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
# Gradle properties
|
|
||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
org.gradle.configureondemand=true
|
org.gradle.configureondemand=true
|
||||||
|
|
||||||
# Project properties
|
|
||||||
maven_name=ViaLegacy
|
|
||||||
maven_group=net.raphimc
|
maven_group=net.raphimc
|
||||||
|
maven_name=ViaLegacy
|
||||||
maven_version=2.2.19-SNAPSHOT
|
maven_version=2.2.19-SNAPSHOT
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
Loading…
Reference in New Issue
Block a user