mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 20:20:30 +00:00
6ab90dc30d
- Add a new Node plugin. This automatically installs npm dependencies and provides a "NpxExecToDir" to dir task. This allows us to make the doc website task dependencies a little nicer, by simply chaining tasks together, rather than doing dependsOn + `input.files(the other task output)`. - Switch over to CurseForgeGradle from CurseGradle. The latter is super clunky to use in non-Groovy languages. - Copy our Modrinth description body to our repo, and add support for syncing it. We'll still have to do CF manually I think.
33 lines
668 B
Plaintext
33 lines
668 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"
|
|
}
|
|
|
|
register("cc-tweaked.node") {
|
|
id = "cc-tweaked.node"
|
|
implementationClass = "cc.tweaked.gradle.NodePlugin"
|
|
}
|
|
}
|
|
}
|