summaryrefslogtreecommitdiff
path: root/plugin/src/main/kotlin/moe/nea/archenemy/util/ext.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-06-19 00:08:30 +0200
committerLinnea Gräf <nea@nea.moe>2024-06-19 00:08:30 +0200
commit4d778b97ee33485af5236ad6bdfdd2949fd69cc2 (patch)
tree749fb202c133036d954a8fdbcfdea25750721cb2 /plugin/src/main/kotlin/moe/nea/archenemy/util/ext.kt
parenta453cc833f52cf1ccd52288edb73c6f0fbc0c7cc (diff)
downloadarchenemy-4d778b97ee33485af5236ad6bdfdd2949fd69cc2.tar.gz
archenemy-4d778b97ee33485af5236ad6bdfdd2949fd69cc2.tar.bz2
archenemy-4d778b97ee33485af5236ad6bdfdd2949fd69cc2.zip
fix stuff for pauline
Diffstat (limited to 'plugin/src/main/kotlin/moe/nea/archenemy/util/ext.kt')
-rw-r--r--plugin/src/main/kotlin/moe/nea/archenemy/util/ext.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/src/main/kotlin/moe/nea/archenemy/util/ext.kt b/plugin/src/main/kotlin/moe/nea/archenemy/util/ext.kt
new file mode 100644
index 0000000..ca0f93f
--- /dev/null
+++ b/plugin/src/main/kotlin/moe/nea/archenemy/util/ext.kt
@@ -0,0 +1,7 @@
+package moe.nea.archenemy.util
+
+import moe.nea.archenemy.mojang.ArchenemySharedExtension
+import org.gradle.api.Project
+
+val Project.sharedExtension
+ get() = project.extensions.getByType(ArchenemySharedExtension::class.java) \ No newline at end of file