X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=34a3461824db9b82467dffa1098341c7cec0e1f0;hb=bb146e4621a8b470c04e2d481d93f77851ecee6c;hp=17407a9b3cc1ba69c7e03fa93dc25c44a880c36f;hpb=3dd93fb0694a3375dedb4ad5f9596a1781b30caa;p=jalview.git diff --git a/build.gradle b/build.gradle index 17407a9..34a3461 100644 --- a/build.gradle +++ b/build.gradle @@ -103,6 +103,7 @@ ext { // Import channel_properties channelDir = string("${jalviewDir}/${channel_properties_dir}/${propertiesChannelName}") channelGradleProperties = string("${channelDir}/channel_gradle.properties") + channelPropsFile = string("${channelDir}/${resource_dir}/${channel_props}") overrideProperties(channelGradleProperties, false) // local build environment properties // can be "projectDir/local.properties" @@ -1511,6 +1512,12 @@ task getdownWebsite() { } getdownWebsiteResourceFilenames += "${getdownAppDistDir}/${getdown_build_properties}" + copy { + from channelPropsFile + into getdownWebsiteDir + } + getdownWebsiteResourceFilenames += file(channelPropsFile).getName() + // set some getdown_txt_ properties then go through all properties looking for getdown_txt_... def props = project.properties.sort { it.key } if (getdownAltJavaMinVersion != null && getdownAltJavaMinVersion.length() > 0) { @@ -1684,6 +1691,7 @@ task getdownWebsite() { from launchJvl from getdownLauncher from "${getdownWebsiteDir}/${getdown_build_properties}" + from "${getdownWebsiteDir}/${channel_props}" if (file(getdownLauncher).getName() != getdown_launcher) { rename(file(getdownLauncher).getName(), getdown_launcher) }