Move dependencies to gradle version catalog and clean up buildscripts

This commit is contained in:
Alexander Städing
2023-03-26 14:53:11 +02:00
parent c7ba5255e3
commit e9526e0e23
10 changed files with 127 additions and 144 deletions

View File

@@ -6,11 +6,9 @@ plugins {
`java-library`
}
val junitVersion: String by project.extra
allprojects {
group = "com.velocitypowered"
version = "3.2.0-SNAPSHOT"
version = rootProject.file("version").readLines().first()
}
subprojects {
@@ -31,8 +29,9 @@ subprojects {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // adventure
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:$junitVersion")
testImplementation(rootProject.libs.junit)
}
tasks {