Passing Configuration to a Gradle Build via Custom Environment Variables: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Gradle Variables and Properties =Overview= This ar...")
 
Line 6: Line 6:


This article describes a generic method to pass configuration to a Gradle build using custom environment variables. This method could prove useful when Gradle builds are executed in containers, as it is the case for [[AWS_CodeBuild_Concepts#Build_Project|AWS CodeBuild builds]].
This article describes a generic method to pass configuration to a Gradle build using custom environment variables. This method could prove useful when Gradle builds are executed in containers, as it is the case for [[AWS_CodeBuild_Concepts#Build_Project|AWS CodeBuild builds]].
=Playground=
{{External|https://github.com/ovidiuf/playground/tree/master/gradle/custom-environment-variables}}

Revision as of 21:13, 14 March 2019

Internal

Overview

This article describes a generic method to pass configuration to a Gradle build using custom environment variables. This method could prove useful when Gradle builds are executed in containers, as it is the case for AWS CodeBuild builds.

Playground

https://github.com/ovidiuf/playground/tree/master/gradle/custom-environment-variables