mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
f25d66680e
- Port to kotlin gradle
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
plugins {
|
|
id("java-gradle-plugin")
|
|
kotlin("jvm") version "1.9.23"
|
|
`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"
|
|
}
|
|
create("subprojectPlugin") {
|
|
id = "flywheel.subproject"
|
|
implementationClass = "com.jozufozu.gradle.subproject.SubprojectPlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("dev.architectury.loom:dev.architectury.loom.gradle.plugin:1.6-SNAPSHOT")
|
|
}
|