aboutsummaryrefslogtreecommitdiff
path: root/test-common/build.gradle.kts
diff options
context:
space:
mode:
authorXander <xander@isxander.dev>2023-04-25 16:28:41 +0100
committerGitHub <noreply@github.com>2023-04-25 16:28:41 +0100
commit13c7ba45ff201423eb8dba8a40cfb66ebb531439 (patch)
tree1e799aa9da11fbc0833bc6b7c6e6799633c2ec50 /test-common/build.gradle.kts
parent8ba7196ae990fe9aa98680aba1b387e385fff99c (diff)
downloadYetAnotherConfigLib-13c7ba45ff201423eb8dba8a40cfb66ebb531439.tar.gz
YetAnotherConfigLib-13c7ba45ff201423eb8dba8a40cfb66ebb531439.tar.bz2
YetAnotherConfigLib-13c7ba45ff201423eb8dba8a40cfb66ebb531439.zip
Architectury! (#61)
Diffstat (limited to 'test-common/build.gradle.kts')
-rw-r--r--test-common/build.gradle.kts24
1 files changed, 24 insertions, 0 deletions
diff --git a/test-common/build.gradle.kts b/test-common/build.gradle.kts
new file mode 100644
index 0000000..7e14666
--- /dev/null
+++ b/test-common/build.gradle.kts
@@ -0,0 +1,24 @@
+plugins {
+ alias(libs.plugins.architectury.loom)
+}
+
+architectury {
+ common("fabric", "forge")
+}
+
+loom {
+ silentMojangMappingsLicense()
+
+ accessWidenerPath.set(project(":common").loom.accessWidenerPath)
+}
+
+dependencies {
+ minecraft(libs.minecraft)
+ mappings(loom.layered {
+ mappings("org.quiltmc:quilt-mappings:${libs.versions.minecraft.get()}+build.${libs.versions.quilt.mappings.get()}:intermediary-v2")
+ officialMojangMappings()
+ })
+ modImplementation(libs.fabric.loader)
+
+ implementation(project(path = ":common", configuration = "namedElements"))
+}