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

@@ -1,19 +1,15 @@
pluginManagement {
repositories {
gradlePluginPortal()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
}
rootProject.name = "velocity"
include(
"api",
"proxy",
"native"
)
findProject(":api")?.name = "velocity-api"
findProject(":proxy")?.name = "velocity-proxy"
findProject(":native")?.name = "velocity-native"
sequenceOf(
"api",
"proxy",
"native",
).forEach {
val project = ":velocity-$it"
include(project)
project(project).projectDir = file(it)
}