Flywheel/buildSrc/build.gradle.kts
Jozufozu 15184b8ccd Declaration of jar
- Expose desired behaviors from platform plugin via an extension
- Move PlatformPlugin to platform package
2024-05-17 08:43:56 -07:00

45 lines
1.3 KiB
Plaintext

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.platform.PlatformPlugin"
}
create("jarSetPlugin") {
id = "flywheel.jar-sets"
implementationClass = "com.jozufozu.gradle.jarset.JarSetPlugin"
}
create("packageInfosPlugin") {
id = "flywheel.package-infos"
implementationClass = "com.jozufozu.gradle.nullability.PackageInfosPlugin"
}
create("transitiveSourceSetsPlugin") {
id = "flywheel.transitive-source-sets"
implementationClass = "com.jozufozu.gradle.transitive.TransitiveSourceSetsPlugin"
}
}
}
dependencies {
implementation("dev.architectury.loom:dev.architectury.loom.gradle.plugin:1.6-SNAPSHOT")
}