Migrate buildSrc plugins to build-logic
This commit is contained in:
committed by
Andrew Steinborn
parent
7e932eaad4
commit
3d20c3dd2d
@@ -1,17 +1,14 @@
|
||||
import com.velocitypowered.script.VelocityCheckstylePlugin
|
||||
import com.velocitypowered.script.VelocityPublishPlugin
|
||||
import com.velocitypowered.script.VelocitySpotlessPlugin
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
id("velocity-checkstyle") apply false
|
||||
id("velocity-spotless") apply false
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply<JavaLibraryPlugin>()
|
||||
|
||||
apply<VelocityCheckstylePlugin>()
|
||||
apply<VelocityPublishPlugin>()
|
||||
apply<VelocitySpotlessPlugin>()
|
||||
apply(plugin = "velocity-checkstyle")
|
||||
apply(plugin = "velocity-spotless")
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
@@ -19,12 +16,6 @@ subprojects {
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // adventure
|
||||
maven("https://repo.papermc.io/repository/maven-public/")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(rootProject.libs.junit)
|
||||
}
|
||||
|
Reference in New Issue
Block a user