Created
November 27, 2015 15:33
-
-
Save Ekt0s/2306f505b04f4203c4da to your computer and use it in GitHub Desktop.
This shows how to use a remote gradle script stored on Gitlab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply from: "http://gitlab.domain.com/GITLAB_GROUP/YOUR_PROJECT/raw/YOUR_BRANCH/YOUR_FILE_PATH?private_token=${GITLAB_PV_TOKEN}" | |
e.g: apply from: "http://gitlab.domain.com/android/henry_pottier/raw/develop/build.nexus.gradle?private_token=${GITLAB_PV_TOKEN}" | |
// The GITLAB_PV_TOKEN property MUST BE set on your global gradle property file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment