- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for loadBuildSrcVersion (0.43 seconds)
-
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/VersionPropertiesLoader.java
public class VersionPropertiesLoader { static Properties loadBuildSrcVersion(File input, ProviderFactory providerFactory) throws IOException { Properties props = new Properties(); InputStream is = new FileInputStream(input); try { props.load(is); } finally { is.close(); } loadBuildSrcVersion(props, providerFactory); return props; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Aug 09 07:39:30 GMT 2021 - 2.7K bytes - Click Count (0) -
build-tools-internal/build.gradle
// we write this back out below to load it in the Build.java which will be shown in rest main action // to indicate this being a snapshot build or a release build. Properties props = VersionPropertiesLoader.loadBuildSrcVersion(project.file('version.properties'), project.getProviders()) version = props.getProperty("elasticsearch") gradlePlugin { // We already configure publication and we don't need or want the one that comes
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 18:10:22 GMT 2021 - 11.3K bytes - Click Count (0)