Migrate buildSrc plugins to build-logic

This commit is contained in:
Alexander Städing
2023-03-27 00:00:24 +02:00
committed by Andrew Steinborn
parent 7e932eaad4
commit 3d20c3dd2d
18 changed files with 145 additions and 263 deletions

View File

@@ -1,3 +1,23 @@
@file:Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // adventure
maven("https://repo.papermc.io/repository/maven-public/")
}
}
pluginManagement {
includeBuild("build-logic")
repositories {
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
}
@@ -6,8 +26,8 @@ rootProject.name = "velocity"
sequenceOf(
"api",
"proxy",
"native",
"proxy",
).forEach {
val project = ":velocity-$it"
include(project)