Skip to content

Commit

Permalink
more work on asm
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Jun 15, 2024
1 parent 96023f4 commit 68daa79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ allprojects {
subprojects {
apply(plugin = "dev.architectury.loom")
apply(plugin = "dev.ithundxr.numismatics.gradle")
apply(plugin = "dev.ithundxr.lotus.gradle")

val capitalizedName = project.name.capitalized()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ import dev.ithundxr.lotus.gradle.api.asm.LotusGradleASM
import dev.ithundxr.numismaticsgradle.transformers.CCCapabilitiesTransformer
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.apply

class NumismaticsGradlePlugin : Plugin<Project> {
override fun apply(project: Project) {
// Register Transformers
LotusGradleASM.addTransformer(CCCapabilitiesTransformer::class)

// Apply lotus plugin
project.apply(plugin = "dev.ithundxr.lotus.gradle")
}
}

0 comments on commit 68daa79

Please sign in to comment.