mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-15 17:05:09 +01:00
- Many command-related fixes and improvements - Added test environment for easier development
32 lines
900 B
Groovy
32 lines
900 B
Groovy
plugins {
|
|
id 'com.github.johnrengelman.shadow'
|
|
id "me.shedaniel.unified-publishing"
|
|
}
|
|
repositories {
|
|
maven { url "https://maven.terraformersmc.com/releases" }
|
|
}
|
|
|
|
architectury {
|
|
platformSetupLoomIde()
|
|
fabric()
|
|
}
|
|
|
|
loom {
|
|
}
|
|
|
|
configurations {
|
|
common
|
|
shadowCommon // Don't use shadow from the shadow plugin since it *excludes* files.
|
|
compileClasspath.extendsFrom common
|
|
runtimeClasspath.extendsFrom common
|
|
developmentFabric.extendsFrom common
|
|
archivesBaseName = rootProject.archives_base_name + "-fabric"
|
|
}
|
|
|
|
dependencies {
|
|
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
|
|
modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
|
|
|
|
implementation project(path: ":fabric", configuration: "namedElements")
|
|
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
|
} |