Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Small optimization on gradle task prepYaCyProperties
reger24fccdf5a37b40
diff --git a/build.gradle b/build.gradleindex 3a304b14f..95cdbab58 100644--- a/build.gradle+++ b/build.gradle@@ -157,6 +157,7 @@ shadowJar.zip64 = true // saw build error: Execution failed for task ':shadowJar// read values from property file generated by storeGitComInf toolimport org.apache.tools.ant.filters.ReplaceTokenstask prepYaCyProperties (type: Copy) {+ inputs.files(fileTree(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@@ -165,7 +166,7 @@ task prepYaCyProperties (type: Copy) {props.load(it)project.ext.filterTokens.putAll(props)}- } else { // on missing properties file use generic data+ } else { // on missing properties file use generic datalogger.error("prepYaCyProperties: file " + propfile + " is missing, you should re-run storeGitComInf")Properties props = new Properties()String Dstr = new Date().format("yyyyMMDD")