Closed mrollo closed 8 years ago
Hi, where did you apply the plugin? In the root project or in a subproject closure?
Thanks for the fast response @RobWin
My project's root build.gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'io.github.robwin:jgitflow-gradle-plugin:0.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
subprojects {
apply plugin: 'io.github.robwin.jgitflow'
}
allprojects {
repositories {
jcenter()
}
}
Could you please try to apply the plugin on the root and not inside of the allprojects and subprojects closures.
That worked - thank you. I see that your documentation did specify to do this. I think I was following the pattern of another project and missed this in your docs.
No problem. If it works for you, feel free to close the issue.
If you like the plugin, I would love to get your GitHub star.
Done and done.
If I attempt to use this plugin in multiple module projects (featureStart, releaseStart, etc.) it fails because it tells git to create the new feature/release branch for as many modules as there are in the project. Git then errors out when trying to create a branch that already exists: