public class ProjectPropertySource extends com.marklogic.client.ext.helper.LoggingObject
TODO Would be nice to combine PropertySource and PropertiesSource, if possible.
| Constructor and description |
|---|
ProjectPropertySource
(org.gradle.api.Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.Properties |
getProperties()Build the Properties instance each time this is called, ensuring we get the latest set of properties from the Gradle Project. |
|
java.lang.String |
getProperty(java.lang.String name) |
| Methods inherited from class | Name |
|---|---|
class com.marklogic.client.ext.helper.LoggingObject |
com.marklogic.client.ext.helper.LoggingObject#wait(long, int), com.marklogic.client.ext.helper.LoggingObject#wait(long), com.marklogic.client.ext.helper.LoggingObject#wait(), com.marklogic.client.ext.helper.LoggingObject#equals(java.lang.Object), com.marklogic.client.ext.helper.LoggingObject#toString(), com.marklogic.client.ext.helper.LoggingObject#hashCode(), com.marklogic.client.ext.helper.LoggingObject#getClass(), com.marklogic.client.ext.helper.LoggingObject#notify(), com.marklogic.client.ext.helper.LoggingObject#notifyAll() |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Build the Properties instance each time this is called, ensuring we get the latest set of properties from the Gradle Project. This currently only includes properties that start with "ml". This is to avoid picking up very generically-named properties in Gradle, such as "name" and "version", which may conflict with properties from other sources.