mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-05 17:46:21 +00:00
0cfdd7b5e9
Look, I don't enjoy having 600 LOC long build.gradle files, it's just very easy to do! This at least moves some of the complexity elsewhere, so the build script is a little more declarative.
28 lines
519 B
Plaintext
28 lines
519 B
Plaintext
plugins {
|
|
`java-gradle-plugin`
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.spotless)
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("cc-tweaked") {
|
|
id = "cc-tweaked"
|
|
implementationClass = "cc.tweaked.gradle.CCTweakedPlugin"
|
|
}
|
|
|
|
register("cc-tweaked.illuaminate") {
|
|
id = "cc-tweaked.illuaminate"
|
|
implementationClass = "cc.tweaked.gradle.IlluaminatePlugin"
|
|
}
|
|
}
|
|
}
|