2022-09-11 13:11:32 +00:00
|
|
|
plugins {
|
|
|
|
`java-gradle-plugin`
|
|
|
|
`kotlin-dsl`
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
|
2022-11-06 15:07:13 +00:00
|
|
|
// Duplicated in settings.gradle.kts
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
|
|
|
|
maven("https://maven.minecraftforge.net") {
|
|
|
|
name = "Forge"
|
|
|
|
content {
|
|
|
|
includeGroup("net.minecraftforge")
|
|
|
|
includeGroup("net.minecraftforge.gradle")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
maven("https://maven.parchmentmc.org") {
|
|
|
|
name = "Librarian"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex("^org\\.parchmentmc.*")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
maven("https://repo.spongepowered.org/repository/maven-public/") {
|
|
|
|
name = "Sponge"
|
|
|
|
content {
|
|
|
|
includeGroup("org.spongepowered")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-22 16:47:39 +00:00
|
|
|
dependencies {
|
2022-11-06 10:28:49 +00:00
|
|
|
implementation(libs.errorProne.plugin)
|
2022-10-29 17:17:02 +00:00
|
|
|
implementation(libs.kotlin.plugin)
|
2022-10-22 16:47:39 +00:00
|
|
|
implementation(libs.spotless)
|
2022-11-06 15:07:13 +00:00
|
|
|
|
|
|
|
implementation(libs.vanillaGradle)
|
|
|
|
implementation(libs.forgeGradle)
|
|
|
|
implementation(libs.librarian)
|
2022-10-22 16:47:39 +00:00
|
|
|
}
|
|
|
|
|
2022-09-11 13:11:32 +00:00
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
2022-10-22 19:47:47 +00:00
|
|
|
register("cc-tweaked") {
|
|
|
|
id = "cc-tweaked"
|
|
|
|
implementationClass = "cc.tweaked.gradle.CCTweakedPlugin"
|
|
|
|
}
|
|
|
|
|
2022-09-11 13:11:32 +00:00
|
|
|
register("cc-tweaked.illuaminate") {
|
|
|
|
id = "cc-tweaked.illuaminate"
|
|
|
|
implementationClass = "cc.tweaked.gradle.IlluaminatePlugin"
|
|
|
|
}
|
2022-10-22 20:09:08 +00:00
|
|
|
|
|
|
|
register("cc-tweaked.node") {
|
|
|
|
id = "cc-tweaked.node"
|
|
|
|
implementationClass = "cc.tweaked.gradle.NodePlugin"
|
|
|
|
}
|
2022-09-11 13:11:32 +00:00
|
|
|
}
|
|
|
|
}
|