mirror of
https://github.com/datahub-project/datahub.git
synced 2026-01-07 15:27:05 +00:00
Add hooks for LI-specific adaptation of the build script.
This commit is contained in:
parent
48aa36fa79
commit
1efa4eef16
@ -50,3 +50,10 @@ apply from: 'gradle/scripts/license.gradle'
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = '2.14'
|
||||
}
|
||||
|
||||
if (project.hasProperty('overrideBuildEnvironment')) {
|
||||
//The property is automatically passed to the Gradle build when the project is built at LinkedIn
|
||||
//The property contains the file path to a script plugin that 'adapts' this OS project to LinkedIn
|
||||
//In order to adapt the project, we need to apply this script plugin:
|
||||
apply from: project.overrideBuildEnvironment
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user