forked from embeddedt/celeritas
47 lines
1.4 KiB
Kotlin
47 lines
1.4 KiB
Kotlin
plugins {
|
|
`kotlin-dsl`
|
|
`java-library`
|
|
id("java-gradle-plugin") // so we can assign and ID to our plugin
|
|
}
|
|
|
|
dependencies {
|
|
implementation("com.google.guava:guava:33.1.0-jre")
|
|
implementation("org.ow2.asm:asm:9.6")
|
|
implementation("org.ow2.asm:asm-tree:9.6")
|
|
implementation("org.ow2.asm:asm-commons:9.6")
|
|
implementation("com.google.code.gson:gson:2.10.1")
|
|
implementation("org.apache.commons:commons-compress:1.26.0")
|
|
implementation("com.gradleup.shadow:shadow-gradle-plugin:9.3.0")
|
|
implementation("dev.kikugie:stonecutter:0.7.11")
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
exclusiveContent {
|
|
forRepository { maven("https://maven.fabricmc.net/") }
|
|
filter {
|
|
includeGroupAndSubgroups("net.fabricmc")
|
|
}
|
|
}
|
|
exclusiveContent {
|
|
forRepository { maven("https://maven.kikugie.dev/releases") }
|
|
filter {
|
|
includeGroup("dev.kikugie")
|
|
}
|
|
}
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("embeddium-fabric-remapper") {
|
|
id = "embeddium-fabric-remapper"
|
|
implementationClass = "org.embeddedt.embeddium.gradle.fabric.remapper.RemapperPlugin"
|
|
}
|
|
// here we register our plugin with an ID
|
|
register("embeddium-fabric-module-finder") {
|
|
id = "embeddium-fabric-module-finder"
|
|
implementationClass = "org.embeddedt.embeddium.gradle.fabric.remapper.ModuleFinderPlugin"
|
|
}
|
|
}
|
|
}
|