mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-21 20:08:18 +00:00
Fix github action build issue
* Move `BuildConfig.java` from `/src/generated`to `/src/main` to accomplish the building pipeline * Add BuildConfig.java to the .gitignore
This commit is contained in:
parent
a77ae0bc3c
commit
170db70b6f
1
.gitignore
vendored
1
.gitignore
vendored
@ -69,6 +69,7 @@ language/
|
||||
languages/
|
||||
gacha-mapping.js
|
||||
data/gacha_mappings.js
|
||||
BuildConfig.java
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
|
@ -122,7 +122,7 @@ jar {
|
||||
from('src/main/java') {
|
||||
include '*.xml'
|
||||
}
|
||||
new File(projectDir, "src/generated/main/java/emu/grasscutter/BuildConfig.java").text = """
|
||||
new File(projectDir, "src/main/java/emu/grasscutter/BuildConfig.java").text = """
|
||||
package emu.grasscutter;
|
||||
public class BuildConfig {
|
||||
public static final String VERSION = \"${version}\";
|
||||
|
Loading…
Reference in New Issue
Block a user