alexvasilkov / alexvasilkov/GradleGitDependenciesPlugin

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

Open
#29 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
109
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce
* create settings.gradle
```
plugins { id 'com.alexvasilkov.git-dependencies' version '2.0.3' } // 2.0.4 also does not work

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.

* Where:
Settings file '/home/XXX/testing/settings.gradle' line: 4

* What went wrong:
A problem occurred evaluating settings 'testing'.
> Ref master cannot be resolved
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.