Skip to content
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

Build Failure due to : unknown property 'archiveBaseVersion' for task ':jar' #4

Closed
gauravghongde opened this issue Mar 27, 2021 · 1 comment

Comments

@gauravghongde
Copy link

archiveBaseVersion = null //Please do not change this final artifact version

getting following error for the boilerplate code for Gradle version
Could not set unknown property 'archiveBaseVersion' for task ':jar' of type org.gradle.api.tasks.bundling.Jar.

Full stack

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'MeetTheFamily'.
Caused by: groovy.lang.MissingPropertyException: Could not set unknown property 'archiveBaseVersion' for task ':jar' of type org.gradle.api.tasks.bundling.Jar.
	at org.gradle.internal.metaobject.AbstractDynamicObject.setMissingProperty(AbstractDynamicObject.java:117)
	at org.gradle.internal.metaobject.ConfigureDelegate.setProperty(ConfigureDelegate.java:104)

Gradle version

Gradle 6.4.1
------------------------------------------------------------

Build time:   2020-05-15 19:43:40 UTC
Revision:     1a04183c502614b5c80e33d603074e0b4a2777c5

Kotlin:       1.3.71
Groovy:       2.5.10
Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM:          1.8.0_251 (Oracle Corporation 25.251-b08)
OS:           Windows 10 10.0 amd64

@gauravghongde
Copy link
Author

My Bad, seems like there is already a new fixed build.gradle present
https://github.com/geektrust/coding-problem-artefacts/blob/master/build-files/java/build.gradle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant