Update build script comments

This commit is contained in:
FlorianMichael 2024-08-21 09:17:41 +02:00
parent 36142e8e2d
commit d01ccad444
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -25,14 +25,12 @@ allprojects {
toolchain.languageVersion = JavaLanguageVersion.of(21)
}
// We define the configuration here so we can use it across all conventions and platforms
// To define which projects/source files should be included in the jar
// Configuration used to include dependencies to the final jars
configurations {
library
implementation.extendsFrom(library)
}
// Repositories for the ViaVersion dependencies defined below
repositories {
maven {
url = "https://maven.minecraftforge.net/"
@ -43,6 +41,8 @@ allprojects {
maven {
url = "https://repo.viaversion.com"
metadataSources {
// Prevent Gradle from checking against correct Java version, needed since we downgrade libraries
// on include
mavenPom()
artifact()
}