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 new in Gradle and i have very basic build file:
plugins {
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
id 'net.researchgate.release' version '3.0.0'
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// Use JUnit Jupiter for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
// This dependency is exported to consumers, that is to say found on their compile classpath.
api 'org.apache.commons:commons-math3:3.6.1'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:30.1.1-jre'
}
tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
Once i ran gradle release i am getting this error:
> Task :kafka-commons-release:kafka-commons:initScmAdapter FAILED
> Task :kafka-commons:release FAILED
Release process failed, reverting back any changes made by Release Plugin.
Release process failed, reverting back any changes made by Release Plugin.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kafka-commons-release:kafka-commons:initScmAdapter'.
> Cannot invoke method init() on null object
Any idea what i am doing wrong?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hello,
I am new in Gradle and i have very basic build file:
Once i ran
gradle release
i am getting this error:Any idea what i am doing wrong?
Thanks a lot!
The text was updated successfully, but these errors were encountered: