2024-04-29 23:33:51 +02:00
|
|
|
plugins {
|
|
|
|
id("groovy-gradle-plugin")
|
|
|
|
id("java-gradle-plugin")
|
|
|
|
kotlin("jvm") version "1.9.20"
|
|
|
|
`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"
|
|
|
|
implementationClass = "com.jozufozu.gradle.PlatformPlugin"
|
|
|
|
}
|
|
|
|
create("jarSetPlugin") {
|
|
|
|
id = "flywheel.jar-sets"
|
2024-04-30 00:49:30 +02:00
|
|
|
implementationClass = "com.jozufozu.gradle.jarset.JarSetPlugin"
|
2024-04-29 23:33:51 +02:00
|
|
|
}
|
|
|
|
create("packageInfosPlugin") {
|
|
|
|
id = "flywheel.package-infos"
|
2024-04-30 00:49:30 +02:00
|
|
|
implementationClass = "com.jozufozu.gradle.nullability.PackageInfosPlugin"
|
2024-04-29 23:33:51 +02:00
|
|
|
}
|
|
|
|
create("transitiveSourceSetsPlugin") {
|
|
|
|
id = "flywheel.transitive-source-sets"
|
2024-04-30 00:49:30 +02:00
|
|
|
implementationClass = "com.jozufozu.gradle.transitive.TransitiveSourceSetsPlugin"
|
2024-04-29 23:33:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("dev.architectury.loom:dev.architectury.loom.gradle.plugin:1.6-SNAPSHOT")
|
|
|
|
}
|