mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2024-11-23 12:29:52 +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/
|
languages/
|
||||||
gacha-mapping.js
|
gacha-mapping.js
|
||||||
data/gacha_mappings.js
|
data/gacha_mappings.js
|
||||||
|
BuildConfig.java
|
||||||
|
|
||||||
# macOS
|
# macOS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
@ -122,7 +122,7 @@ jar {
|
|||||||
from('src/main/java') {
|
from('src/main/java') {
|
||||||
include '*.xml'
|
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;
|
package emu.grasscutter;
|
||||||
public class BuildConfig {
|
public class BuildConfig {
|
||||||
public static final String VERSION = \"${version}\";
|
public static final String VERSION = \"${version}\";
|
||||||
|
Loading…
Reference in New Issue
Block a user