You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to utilise the new-sonatype-scan-gradle-plugin in our application.
When we try to add this plugin our build is failing.
failure : * Where:
Build file '/home/app/build.gradle' line: 69
What went wrong:
A problem occurred evaluating root project 'app'.
No signature of method: org.eclipse.jgit.internal.storage.file.FileRepository.getRef() is applicable for argument types: (String) values: [HEAD]
Possible solutions: getAt(java.lang.String), getFS(), grep(), exactRef(java.lang.String), findRef(java.lang.String), getAllRefs()
If i was not adding this new-sonatype-scan-gradle-plugin then the build is successful, but in order to run the nexus iq scan with plugin, this dependency need to be added.
'build.gradle' line: 69 : println "${version.toString()}". it is just printing the version of the app.
The version is getting by using the version strategy from the gradle-git-release plugin (classpath 'org.ajoberstar:gradle-git:1.7.2')
While adding the new-sonatype-scan-gradle-plugin, this new-sonatype-scan-gradle-plugin some how is messing with gradle-git-release plugin or new-sonatype-scan-gradle-plugin messed up with the version in git and it is failing.
Here is my build.gradle file
buildscript {
repositories {
mavenLocal()
First of all, thank you for opening your first issue. Elementary, we appreciate all feedback that helps us continue improving this plugin.
As this is a community project we can't commit to official due dates for reviews and developing, but we're definitely committed to delivering services, integrations and plugins of top quality.
So please be patient, we will review your issue and get back to you as soon as we can!
I am trying to utilise the new-sonatype-scan-gradle-plugin in our application.
When we try to add this plugin our build is failing.
failure : * Where:
Build file '/home/app/build.gradle' line: 69
A problem occurred evaluating root project 'app'.
'build.gradle' line: 69 : println "${version.toString()}". it is just printing the version of the app.
The version is getting by using the version strategy from the gradle-git-release plugin (classpath 'org.ajoberstar:gradle-git:1.7.2')
While adding the new-sonatype-scan-gradle-plugin, this new-sonatype-scan-gradle-plugin some how is messing with gradle-git-release plugin or new-sonatype-scan-gradle-plugin messed up with the version in git and it is failing.
Here is my build.gradle file
buildscript {
repositories {
mavenLocal()
}
The text was updated successfully, but these errors were encountered: