init commit of working things
This commit is contained in:
commit
06a0ff2060
66 changed files with 1917 additions and 0 deletions
27
settings.gradle
Normal file
27
settings.gradle
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven { url = 'https://maven.minecraftforge.net/' }
|
||||
maven { url "https://repo.spongepowered.org/repository/maven-public/" }
|
||||
}
|
||||
}
|
||||
|
||||
apply from: 'minecraft.gradle'
|
||||
rootProject.name = "librecomponents-${minecraft_version}-${minecraft_sdk}"
|
||||
|
||||
def substituteLocal(final directoryName, final libraryName) {
|
||||
final def path = new File("../${directoryName}");
|
||||
if (path.exists()) {
|
||||
println("Found local [${directoryName}] project, substituting...")
|
||||
includeBuild(path) {
|
||||
dependencySubstitution {
|
||||
substitute module(libraryName) using project(':')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
substituteLocal('sedna-mc', 'curse.maven:sedna-511276')
|
||||
substituteLocal('ceres', 'li.cil.ceres:ceres')
|
||||
substituteLocal('sedna', 'li.cil.sedna:sedna')
|
||||
substituteLocal('buildroot', 'li.cil.sedna:sedna-buildroot')
|
||||
Loading…
Add table
Add a link
Reference in a new issue