alexvasilkov / GradleGitDependenciesPlugin

Gradle plugin to add external git repos as project dependencies
Apache License 2.0
105 stars 15 forks source link

Branch name can't be resolved (plugin versions 2.0.3 and 2.0.4) #29

Open bonivi opened 3 years ago

bonivi commented 3 years ago

Steps to reproduce

git { fetch 'https://github.com/alexvasilkov/GradleGitDependenciesPlugin.git' , { dir "$rootDir/testing" commit 'master' } }

rootProject.name = 'testing'

* run ./gradlew

result 

$ ./gradlew Git dependency: Added 'GradleGitDependenciesPlugin' Git dependency: Clone started 'https://github.com/alexvasilkov/GradleGitDependenciesPlugin.git' at version 'master'

FAILURE: Build failed with an exception.

bonivi commented 2 years ago

Any progress ?

alexvasilkov commented 2 years ago

Please check issue #24 as it looks like a duplicate. In short, try to use origin/master instead of just master. I'll update the docs meanwhile.