mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 10:27:44 +01:00
Build using Toothpick scripts (#122)
Co-authored-by: BillyGalbreath <blake.galbreath@gmail.com>
This commit is contained in:
26
buildSrc/build.gradle.kts
Normal file
26
buildSrc/build.gradle.kts
Normal file
@@ -0,0 +1,26 @@
|
||||
val kotlinxDomVersion = "0.0.10"
|
||||
val shadowVersion = "6.1.0"
|
||||
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven("https://plugins.gradle.org/m2/")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.jetbrains.kotlinx:kotlinx.dom:$kotlinxDomVersion")
|
||||
implementation("com.github.jengelman.gradle.plugins:shadow:$shadowVersion")
|
||||
}
|
||||
|
||||
gradlePlugin {
|
||||
plugins {
|
||||
register("Toothpick") {
|
||||
id = "toothpick"
|
||||
implementationClass = "Toothpick"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user