Advertisement
GeradesoLukas

Untitled

Jan 11th, 2024
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. plugins {
  2. id "architectury-plugin" version "3.4-SNAPSHOT"
  3. id "dev.architectury.loom" version "1.3-SNAPSHOT" apply false
  4. }
  5.  
  6. architectury {
  7. minecraft = rootProject.minecraft_version
  8. }
  9.  
  10. subprojects {
  11. apply plugin: "dev.architectury.loom"
  12.  
  13. loom {
  14. silentMojangMappingsLicense()
  15. }
  16.  
  17. dependencies {
  18. minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
  19. // The following line declares the mojmap mappings, you may use other mappings as well
  20. mappings loom.officialMojangMappings()
  21.  
  22. // The following line declares the yarn mappings you may select this one as well.
  23. // mappings "net.fabricmc:yarn:1.18.2+build.4:v2"
  24. //implementation(annotationProcessor(include("com.github.LlamaLad7:MixinExtras:0.1.1")))
  25.  
  26. }
  27. }
  28.  
  29. allprojects {
  30. apply plugin: "java"
  31. apply plugin: "architectury-plugin"
  32. apply plugin: "maven-publish"
  33.  
  34. archivesBaseName = rootProject.archives_base_name
  35. version = rootProject.mod_version
  36. group = rootProject.maven_group
  37.  
  38. repositories {
  39. // Add repositories to retrieve artifacts from in here.
  40. // You should only use this when depending on other mods because
  41. // Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
  42. // See https://docs.gradle.org/current/userguide/declaring_repositories.html
  43. // for more information about repositories.
  44. maven {
  45. url "https://cursemaven.com"
  46. content {
  47. includeGroup "curse.maven"
  48. }
  49. }
  50.  
  51. maven { url "https://jitpack.io" }
  52. }
  53. dependencies {
  54. annotationProcessor(implementation("com.github.LlamaLad7:MixinExtras:0.1.1"))
  55. }
  56.  
  57. tasks.withType(JavaCompile) {
  58. options.encoding = "UTF-8"
  59. options.release = 17
  60. }
  61.  
  62. java {
  63. withSourcesJar()
  64. }
  65. }
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement