Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'fabric-loom' version '1.2-SNAPSHOT'
- id 'maven-publish'
- }
- version = project.mod_version
- group = project.maven_group
- repositories {
- // Add repositories to retrieve artifacts from in here.
- // You should only use this when depending on other mods because
- // Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
- // See https://docs.gradle.org/current/userguide/declaring_repositories.html
- // for more information about repositories.
- maven { url "https://maven.terraformersmc.com/" }
- maven {
- name = "QuiltMC"
- url = "https://maven.quiltmc.org/repository/release"
- }
- maven { url = 'https://maven.ladysnake.org/releases' }
- maven { url "https://maven.shedaniel.me/" }
- maven { url "https://maven.jamieswhiteshirt.com/libs-release/" }
- maven { url "https://jitpack.io/" }
- maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }
- maven { url "https://cursemaven.com" }
- maven { url 'https://maven.merchantpug.net/releases/'}
- maven { url 'https://maven.firstdarkdev.xyz/snapshots/'}
- maven { url 'https://maven.kosmx.dev/'}
- maven {
- url "https://maven.firstdarkdev.xyz/releases"
- }
- //maven { url 'https://maven.covers1624.net/' }
- exclusiveContent {
- forRepository {
- maven {
- name = "Modrinth"
- url = "https://api.modrinth.com/maven"
- }
- }
- filter {
- includeGroup "maven.modrinth"
- }
- }
- }
- dependencies {
- // To change the versions see the gradle.properties file
- minecraft "com.mojang:minecraft:${project.minecraft_version}"
- mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
- modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
- implementation("com.github.LlamaLad7:MixinExtras:0.1.1")
- annotationProcessor("com.github.LlamaLad7:MixinExtras:0.1.1")
- modImplementation "com.ptsmods:devlogin:3.5" // For Fabric and Quilt
- //localRuntime 'net.covers1624:DevLogin:0.1.0.2'
- // Fabric API. This is technically optional, but you probably want it anyway.
- modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
- //modImplementation "curse.maven:origins-391943:4044263"
- //modImplementation "curse.maven:clothconfig-348521:3972423"
- modImplementation "maven.modrinth:origins:${project.origins_version}"
- //modImplementation "com.github.apace100:origins-fabric:${project.origins_version}"
- modImplementation "com.github.apace100:apoli:${project.apoli_version}"
- modImplementation "com.github.apace100:calio:${project.calio_version}"
- modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cca_version}"
- modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cca_version}"
- modImplementation 'software.bernie.geckolib:geckolib-fabric-1.20.1:4.2.2'
- modImplementation "net.merchantpug:Apugli:${project.apugli_version}-fabric"
- //minecraftRuntimeLibraries("com.lowdragmc.ldlib:ldlib-fabric-1.20.1:${project.ldlib_version}")
- modCompileOnly "com.lowdragmc.photon:photon-fabric-1.20.1:${project.photon_version}"
- //modImplementation "com.lowdragmc.shimmer:Shimmer-fabric:${project.minecraft_version}:${project.shimmer_version}"
- //modImplementation "curse.maven:shimmer-627824:4923048"
- modImplementation "curse.maven:architectury-api-419699:4875182"
- //modImplementation "maven.modrinth:gravity-api-fork:${project.gravity_api_version}"
- //modImplementation "curse.maven:icarus-428151:4429130"
- //modImplementation "curse.maven:identity-391390:4399469"
- modImplementation "dev.emi:trinkets:${project.trinkets_version}"
- //modImplementation "curse.maven:trinkets-341284:4441758"
- //modImplementation "curse.maven:impaled-478843:3823512"
- //modImplementation("dev.kosmx.player-anim:player-animation-lib-fabric:${project.player_anim}")
- modApi("com.github.Virtuoel:Pehkui:${pehkui_version}", {
- exclude group: "net.fabricmc.fabric-api"
- })
- modImplementation include("io.github.ladysnake:satin:${satin_version}")
- modImplementation "io.github.ladysnake:PlayerAbilityLib:${pal_version}"
- //modImplementation include ("com.github.Draylar.omega-config:omega-config-base:1.2.3-1.18.1") {
- // exclude group: "net.fabricmc.fabric-api"
- //}
- modImplementation "curse.maven:female-gender-fabric-456319:4600149"
- //modImplementation "curse.maven:slimeorigin-643546:4357214"
- //modImplementation "curse.maven:slime-origin-remastered-643546:4357214"
- //modImplementation "curse.maven:mob-origins-449974:4415979"
- //modImplementation include("com.github.Arathain:LodestoneLib-Quilt:1.19.3-SNAPSHOT")
- // Uncomment the following line to enable the deprecated Fabric API modules.
- // These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.
- // modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
- }
- base {
- archivesName = project.archives_base_name
- }
- processResources {
- inputs.property "version", project.version
- filesMatching("fabric.mod.json") {
- expand "version": project.version
- }
- }
- tasks.withType(JavaCompile).configureEach {
- // Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
- it.options.release = 17
- }
- java {
- // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
- // if it is present.
- // If you remove this line, sources will not be generated.
- withSourcesJar()
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
- }
- jar {
- from("LICENSE") {
- rename { "${it}${base.archivesName.get()}"}
- }
- }
- loom {
- accessWidenerPath = file("src/main/resources/mmpextras.accesswidener")
- }
- // configure the maven publication
- publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- }
- }
- // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
- repositories {
- // Add repositories to publish to here.
- // Notice: This block does NOT have the same function as the block in the top level.
- // The repositories here will be used for publishing your artifact, not for
- // retrieving dependencies.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement