Update build.gradle

This commit is contained in:
Tofaa 2024-02-17 22:00:52 +04:00
parent 10e863a029
commit 10dd4afc19

View file

@ -7,7 +7,7 @@ plugins {
allprojects { allprojects {
project.ext.adventureVersion = '4.15.0' project.ext.adventureVersion = '4.15.0'
project.ext.adventureDependencies=["net.kyori:adventure-api:${adventureVersion}", project.ext.adventureDependencies = ["net.kyori:adventure-api:${adventureVersion}",
"net.kyori:adventure-text-serializer-gson:${adventureVersion}", "net.kyori:adventure-text-serializer-gson:${adventureVersion}",
"net.kyori:adventure-text-serializer-legacy:${adventureVersion}", "net.kyori:adventure-text-serializer-legacy:${adventureVersion}",
"net.kyori:adventure-nbt:${adventureVersion}"] "net.kyori:adventure-nbt:${adventureVersion}"]
@ -21,6 +21,11 @@ allprojects {
java.sourceCompatibility = JavaVersion.VERSION_1_8 java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8 java.targetCompatibility = JavaVersion.VERSION_1_8
java {
withSourcesJar()
withJavadocJar()
}
repositories { repositories {
mavenCentral() mavenCentral()
@ -43,10 +48,10 @@ allprojects {
publishing { publishing {
publications { publications {
mavenJava(MavenPublication) { maven(MavenPublication) {
groupId = project.group // Group instance of your project groupId project.group
artifactId = project.name artifactId project.name
version = project.version // Version instance of your project version project.version
from components.java from components.java
} }
} }