Update code buildsrc settings code to download the latest version of edx-app-gradle-plugin
@@ -10,13 +10,13 @@ buildscript {
}
}
-def edXAppPluginSetup(url, ref) {
+def edXAppPluginSetup(url) {
def buildSrc = new File(rootProject.projectDir, 'plugins')
buildSrc.mkdirs()
def dest = new File(buildSrc, "edx-app-gradle-plugin")
if(!dest.exists()) {
- Grgit.clone(dir: dest, uri: url, refToCheckout : ref)
+ Grgit.clone(dir: dest, uri: url)
}
def grgit = Grgit.open(dir : dest)
@@ -26,9 +26,8 @@ def edXAppPluginSetup(url, ref) {
catch(GrgitException e) {
println("Could not fetch latest version of app gradle plugin. This is probably due to lack of an internet connection. Skipping")
}
- grgit.checkout(branch : ref)
}
-edXAppPluginSetup('https://github.com/edx/edx-app-gradle-plugin', '2e0516c8b3c4e0d60bff01491bc66c9f0f2eedf4')
+edXAppPluginSetup('https://github.com/edx/edx-app-gradle-plugin')
include "plugins/edx-app-gradle-plugin"
