2024-04-29 23:33:51 +02:00
|
|
|
plugins {
|
|
|
|
id("java-gradle-plugin")
|
2024-05-04 02:35:33 +02:00
|
|
|
kotlin("jvm") version "1.9.23"
|
2024-04-29 23:33:51 +02:00
|
|
|
`kotlin-dsl`
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
mavenCentral()
|
|
|
|
maven("https://maven.minecraftforge.net/") {
|
|
|
|
name = "MinecraftForge"
|
|
|
|
}
|
|
|
|
maven("https://maven.architectury.dev/") {
|
|
|
|
name = "Architectury"
|
|
|
|
}
|
|
|
|
maven("https://repo.spongepowered.org/repository/maven-public")
|
|
|
|
maven("https://maven.parchmentmc.org")
|
|
|
|
}
|
|
|
|
|
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
|
|
|
create("platformPlugin") {
|
|
|
|
id = "flywheel.platform"
|
2024-05-25 21:06:11 +02:00
|
|
|
implementationClass = "dev.engine_room.gradle.platform.PlatformPlugin"
|
2024-04-29 23:33:51 +02:00
|
|
|
}
|
2024-05-04 00:54:23 +02:00
|
|
|
create("subprojectPlugin") {
|
|
|
|
id = "flywheel.subproject"
|
2024-05-25 21:06:11 +02:00
|
|
|
implementationClass = "dev.engine_room.gradle.subproject.SubprojectPlugin"
|
2024-05-04 00:54:23 +02:00
|
|
|
}
|
2024-04-29 23:33:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-07-01 22:16:27 +02:00
|
|
|
// FIXME: This should not hard-code the Loom version.
|
|
|
|
implementation("dev.architectury.loom:dev.architectury.loom.gradle.plugin:1.6.397")
|
2024-04-29 23:33:51 +02:00
|
|
|
}
|