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-api:fabric-api:${fabric_version}"
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'
implementation project(":Common")
implementation project(":common")
}
loom {
@ -34,7 +34,7 @@ loom {
processResources {
from project(":Common").sourceSets.main.resources
from project(":common").sourceSets.main.resources
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
@ -43,7 +43,7 @@ processResources {
}
tasks.withType(JavaCompile) {
source(project(":Common").sourceSets.main.allSource)
source(project(":common").sourceSets.main.allSource)
}
publishing {

View File

@ -27,7 +27,7 @@ minecraft {
mods {
modClientRun {
source sourceSets.main
source project(":Common").sourceSets.main
source project(":common").sourceSets.main
}
}
}
@ -41,7 +41,7 @@ minecraft {
mods {
modServerRun {
source sourceSets.main
source project(":Common").sourceSets.main
source project(":common").sourceSets.main
}
}
}
@ -56,7 +56,7 @@ minecraft {
mods {
modDataRun {
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 {
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
compileOnly project(":Common")
compileOnly project(":common")
}
tasks.withType(JavaCompile) {
source(project(":Common").sourceSets.main.allSource)
source(project(":common").sourceSets.main.allSource)
}
processResources {
from project(":Common").sourceSets.main.resources
from project(":common").sourceSets.main.resources
}

View File

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