Lowercase the project names as per gradle naming convention

This commit is contained in:
Jared 2023-06-11 01:21:39 +02:00
parent 4deaa38f67
commit e10fcc23e4
19 changed files with 10 additions and 10 deletions

View File

@ -12,7 +12,7 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}" modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}"
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1' implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'
implementation project(":Common") implementation project(":common")
} }
loom { loom {
@ -34,7 +34,7 @@ loom {
processResources { processResources {
from project(":Common").sourceSets.main.resources from project(":common").sourceSets.main.resources
inputs.property "version", project.version inputs.property "version", project.version
filesMatching("fabric.mod.json") { filesMatching("fabric.mod.json") {
@ -43,7 +43,7 @@ processResources {
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
source(project(":Common").sourceSets.main.allSource) source(project(":common").sourceSets.main.allSource)
} }
publishing { publishing {

View File

@ -27,7 +27,7 @@ minecraft {
mods { mods {
modClientRun { modClientRun {
source sourceSets.main source sourceSets.main
source project(":Common").sourceSets.main source project(":common").sourceSets.main
} }
} }
} }
@ -41,7 +41,7 @@ minecraft {
mods { mods {
modServerRun { modServerRun {
source sourceSets.main source sourceSets.main
source project(":Common").sourceSets.main source project(":common").sourceSets.main
} }
} }
} }
@ -56,7 +56,7 @@ minecraft {
mods { mods {
modDataRun { modDataRun {
source sourceSets.main source sourceSets.main
source project(":Common").sourceSets.main source project(":common").sourceSets.main
} }
} }
} }
@ -67,15 +67,15 @@ sourceSets.main.resources.srcDir 'src/generated/resources'
dependencies { dependencies {
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
compileOnly project(":Common") compileOnly project(":common")
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
source(project(":Common").sourceSets.main.allSource) source(project(":common").sourceSets.main.allSource)
} }
processResources { processResources {
from project(":Common").sourceSets.main.resources from project(":common").sourceSets.main.resources
} }

View File

@ -17,4 +17,4 @@ pluginManagement {
} }
rootProject.name = 'MultiLoader' rootProject.name = 'MultiLoader'
include("Common", "Fabric", "Forge") include("common", "fabric", "forge")