Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Further improvement of https://github.com/yacy/yacy_search_server/commit/fccdf5a37b4072a539741db3e6b6b4d1dc2b947e

reger24535636551ad3
diff --git a/build.gradle b/build.gradle
index 95cdbab58..5bd955a76 100644
--- a/build.gradle
+++ b/build.gradle
@@ -157,7 +157,7 @@ shadowJar.zip64 = true // saw build error: Execution failed for task ':shadowJar
// read values from property file generated by storeGitComInf tool
import org.apache.tools.ant.filters.ReplaceTokens
task prepYaCyProperties (type: Copy) {
- inputs.files(fileTree(sourceSets.main.java.srcDirs[0].name + "/net/yacy/peers/operation/yacyBuildProperties.java.template"))
+ inputs.files('gitbuildnumber.properties', sourceSets.main.java.srcDirs[0].name + "/net/yacy/peers/operation/yacyBuildProperties.java.template")
def propfile = "gitbuildnumber.properties";
if (project.file(propfile).exists()) { // must check otherwise any action may stop after clean on this error