// Adjust the output jar name here
archivesBaseName = "${mod_name}-Common-${minecraft_version}"

dependencies {
    // Add your dependencies here
}

// Maven Publishing. Remove if not needed
publishing {
    publications {
        mavenJava(MavenPublication) {
            artifactId base.archivesName.get()
            from components.java
        }
    }
    repositories {
        // Add your maven repository here
        maven {
            url "file://" + System.getenv("local_maven")
        }
    }
}

/**
 * ===============================================================================
 * =       DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING        =
 * ===============================================================================
 */

unimined.minecraft {
    fabric {
        loader fabric_loader
    }

    defaultRemapJar = false
}

processResources {
    def buildProps = project.properties.clone()

    filesMatching(['pack.mcmeta']) {
        expand buildProps
    }
}