Skip to content

Commit

Permalink
fix: git root cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurawald committed Jul 26, 2024
1 parent 5f4fc5b commit 4b45d2d
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 12 deletions.
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,39 +1,33 @@
# gradle

.gradle/
local.properties
build/
out/
classes/

# eclipse

*.launch

# idea

.idea/
*.iml
*.ipr
*.iws

# vscode

.settings/
.vscode/
bin/
.classpath
.project

# macos

*.DS_Store

# fabric
/run/

# java

hs_err_*.log
replay_*.log
*.hprof
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Fuji is a minecraft mod that provides many essential and useful modules for vani
# Feature
1. **Vanilla-Respect**: all the modules are designed to be as light-way as possible, and do the least change to the vanilla game. (Never touch the game-logic.)
2. **Fully-Modular**: you can disable any module completely if you don't like it. (Code is data is code. Thanks to the power of meta-programming, the module loader will even not load and inject the module codes into the game, if you disable the module, without any performance issue.)
3. **High-Performance**: code is faster just because it is literal shorter. (And from data-structure, algorithm, lazy-evaluation and cache to improve performance greatly.)
2. **Fully-Modular**: you can disable any module completely if you don't like it. (Code is data is code. Thanks to the power of meta-programming, the module loader will even not load and inject the module text into the game, if you disable the module, without any performance issue.)
3. **High-Performance**: Keep performance in mind while coding. (From data-structure, algorithm, lazy-evaluation and cache to improve performance greatly.)
4. **Easy-to-Use**: a text-based per-field-explained auto-generated always-up-to-date documentation is provided. (Our configuration use lots of mini-language and generators to provide a unified setup.)

# Wiki
Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ dependencies {

/* compile */
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
it.options.release.set(21)
}

Expand All @@ -108,6 +109,9 @@ processResources {
}

jar {
// def gitProps = new Properties()
// file("git.properties").withInputStream { gitProps.load(it) }

from("LICENSE") {
rename { "${it}-mc${minecraft_version}-${project.base.archivesName.get()}" }
}
Expand Down
2 changes: 1 addition & 1 deletion fuji-fabric.wiki
19 changes: 19 additions & 0 deletions git.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
git.branch=dev
git.build.host=archlinux
git.build.user.email[email protected]
git.build.user.name=sakurawald
git.build.version=1.3.3
git.closest.tag.commit.count=
git.closest.tag.name=
git.commit.id=5f4fc5b8ebe28ac0e0c16f5153872869302ad9fb
git.commit.id.abbrev=5f4fc5b
git.commit.id.describe=
git.commit.message.full=refactor\: infer nullity\n
git.commit.message.short=refactor\: infer nullity
git.commit.time=2024-07-26T10\:20\:48+0800
git.commit.user.email[email protected]
git.commit.user.name=sakurawald
git.dirty=true
git.remote.origin.url[email protected]\:SakuraWald/sakurawald-fabric.git
git.tags=
git.total.commit.count=559
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx8G
org.gradle.parallel=true

# mod props
mod_version=1.3.2
mod_version=1.3.3
maven_group=io.github.sakurawald
archives_base_name=fuji

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
Note:
- Most of the configuration files use `.json` file format, so you might want to use a better `text-editor` to highlight the file.
A good editor for json edit is `visual studio code`: [Visual Studio Code - Web Online Editor](https://vscode.dev/)
A good editor for json is `visual studio code`: [Visual Studio Code - Web Online Editor](https://vscode.dev/)
""")
public class ConfigModel {
Expand Down Expand Up @@ -844,7 +844,7 @@ public class AfkChecker {
""")
public class Rtp {

public boolean enable = true;
public boolean enable = false;

public @NotNull Setup setup = new Setup();

Expand Down

0 comments on commit 4b45d2d

Please sign in to comment.