-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Casting exception #4
Comments
What does your |
This is an example of
|
But this might not be the issue. Giving absolute path, e.g., "/home/user/<path-to-git-repo>" doesn't seem to solve this problem either. As I said, compiling from sources, and giving dependency to the local jar file doesn't cause this problem. Complete Versionberg field:
|
I just realized that you are using File type. But changing it to point a file with a .git path doesn't seem to help. Also, it appears that I was using an older local version. I just re-fetched the head and the problem exists even when I compile from the source. Compiling with the following field produces a different error:
Not sure if I am doing something wrong, but the problem occurs somewhere around, I think, Commenting out |
@cengizkandemir can you try running this command line?
|
I think I can reproduce the same issue now. Talking a look now. |
Can you try buildscript {
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath 'io.github.rockerhieu:versionberg:1.0.2-SNAPSHOT'
}
}
apply plugin: "io.github.rockerhieu.versionberg" If it work then I will release 1.0.2. |
I'll check it next monday. |
@cengizkandemir did you check it? |
This seems to work. What is the difference between these two releases? |
There was a bug when initializing |
I am having the following error when I use io.github.rockerhieu:versionberg:1.0.1
This doesn't seem to be the case if I compile the plugin from the source, and declare it as the dependency. Is io.github.rockerhieu:versionberg:1.0.1 the latest version?
For the record, the same gradle script runs well if I use io.github.rockerhieu:versionberg:1.0.0 and comment out the
gitDir
attribute.The text was updated successfully, but these errors were encountered: