Allow tokenreplacement in multiple files (#105)

This commit is contained in:
glowredman authored and GitHub committed 2022-12-17 22:44:58 +01:00
1 parent b07bcc7d71
commit d8570d03d6
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -280,7 +280,9 @@ minecraft {
runDir = 'run'
if (replaceGradleTokenInFile) {
replaceIn replaceGradleTokenInFile
for (f in replaceGradleTokenInFile.split(',')) {
replaceIn f
}
if (gradleTokenModId) {
replace gradleTokenModId, modId
}
+1
View File
@@ -29,6 +29,7 @@ remoteMappings = https://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/con
developmentEnvironmentUserName = Developer
# Define a source file of your project with:
# Multiple source files can be defined here by providing a comma-seperated list: Class1.java,Class2.java,Class3.java
# public static final String VERSION = "GRADLETOKEN_VERSION";
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
# version in @Mod([...], version = VERSION, [...])