File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ buildscript {
77 * set when calling Gradle. For example, you could run "gradle -Penv=qa mlDeploy" in order to apply the env-qa.gradle
88 * build file, which would set properties based on the QA environment. This doesn't have anything to do with ml-gradle -
99 * it just shows one technique for overriding properties. See env-prod.gradle and env-qa.gradle for more details.
10+ *
11+ * Also see https://github.com/stevesaliman/gradle-properties-plugin for an elegant way of supporting properties files
12+ * for different environments.
1013 */
1114 if (project. hasProperty(" env" )) {
1215 def buildFile = " env-" + project. property(" env" ) + " .gradle"
@@ -19,6 +22,9 @@ buildscript {
1922 * development. A developer can create a non-version-controlled local.gradle file and, within that file, override any
2023 * properties that are defined in gradle.properties. This also isn't specific to ml-gradle - it's just one way with
2124 * Gradle to allow a developer to easily override gradle.properties for local development purposes.
25+ *
26+ * Also see https://github.com/stevesaliman/gradle-properties-plugin for an elegant way of supporting properties files
27+ * for different environments.
2228 */
2329 if (new File (" local.gradle" ). exists()) {
2430 println " Applying local.gradle file"
You can’t perform that action at this time.
0 commit comments