Questions tagged [gradle-git]

Usage questions for the gradle-git plugins.

From the gradle-git README:

gradle-git is a set of Gradle plugins:

  • org.ajoberstar.grgit - provides a Grgit instance, allowing interaction with the Git repository the Gradle project is contained in
  • org.ajoberstar.github-pages - publishes files to the gh-pages branch of a Github repository
  • org.ajoberstar.release-base - general structure for inferring a project version and releasing it
  • org.ajoberstar.release-opinion - opinionated defaults for org.ajoberstar.release-base
5 questions
8
votes
0 answers

Could not get unknown property 'Grgit' for task

Trying to git commit a repo through a task in build.gradle. However, the error persists and I am not able to fix it. LOG: Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'Grgit' for task ':gitCommit' of type…
Sidharth
  • 1,402
  • 2
  • 16
  • 37
1
vote
1 answer

gradle-nebula create but don't push git tag

I am maintaining a project using gradle with nebula for release and semver. For various reasons, I want to prevent the nebula plugin (gradle clean final) to push the created git tag by itself and delegate this into another place in my (jenkins)…
nymvno
  • 370
  • 5
  • 19
1
vote
1 answer

Using grgit to capture logs between two tags

I want to capture the commit messages between two tags. Like, I create a tag in my repo, then commit some files and then add a tag. So, in between these tags, I want to capture those commit messages. All this is suppose to be done using grgit, the…
sver
  • 866
  • 1
  • 19
  • 44
0
votes
1 answer

Page Not Found when get /info from gradle-git-properties/micronaut-management

Context: I downloaded an initialized project from https://micronaut.io/launch/ and I added both gradle-git-properties plugin and micronaut-management dependency in order to expose git.properties as explained in adding commit info guide I checked my…
Jim C
  • 3,957
  • 25
  • 85
  • 162
0
votes
2 answers

Update TeamCity Build Number with version in Gradle build script

I have a gradle build script as below: buildscript { repositories { //Some repo } dependencies { classpath "com.palantir.gradle.gitversion:gradle-git-version:0.8.0" } } } apply plugin:…
hydradon
  • 1,316
  • 1
  • 21
  • 52