Upload files to "root_dir"
This commit is contained in:
parent
accb14a1ed
commit
d1be5a5e02
4 changed files with 59 additions and 0 deletions
38
root_dir/build.gradle
Normal file
38
root_dir/build.gradle
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
plugins {
|
||||||
|
id "fabric-loom" version "1.5-SNAPSHOT"
|
||||||
|
}
|
||||||
|
|
||||||
|
version = project.mod_version
|
||||||
|
group = project.maven_group
|
||||||
|
|
||||||
|
base {
|
||||||
|
archivesName = project.archives_base_name
|
||||||
|
}
|
||||||
|
|
||||||
|
// loom.splitEnvironmentSourceSets()
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||||
|
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
||||||
|
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||||
|
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||||
|
}
|
||||||
|
|
||||||
|
processResources {
|
||||||
|
inputs.property "version", project.version
|
||||||
|
|
||||||
|
filesMatching("fabric.mod.json") {
|
||||||
|
expand "version": project.version
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
it.options.release = 17
|
||||||
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
}
|
1
root_dir/client.sh
Normal file
1
root_dir/client.sh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
LD_LIBRARY_PATH=/nix/store/lhini9076xf583b975fdd4wdy9kd8zdi-libglvnd-1.7.0/lib:$LD_LIBRARY_PATH ./gradlew runClient
|
11
root_dir/gradle.properties
Normal file
11
root_dir/gradle.properties
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
org.gradle.jvmargs=-Xmx1G
|
||||||
|
org.gradle.parallel=true
|
||||||
|
|
||||||
|
minecraft_version=1.20.4
|
||||||
|
yarn_mappings=1.20.4+build.3
|
||||||
|
loader_version=0.15.7
|
||||||
|
fabric_version=0.96.4+1.20.4
|
||||||
|
|
||||||
|
mod_version=0.1.0
|
||||||
|
maven_group=ninja.carter.skyfoundry
|
||||||
|
archives_base_name=skyfoundry
|
9
root_dir/settings.gradle
Normal file
9
root_dir/settings.gradle
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
name = "Fabric"
|
||||||
|
url = "https://maven.fabricmc.net/"
|
||||||
|
}
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue