Questions tagged [gradle-release-plugin]

This refers to a release plugin of the build tool gradle.

The gradle release plugin manages the process of

  • ensuring a clean state of the working copy
  • setting the version to a non snapshot version
  • building the artifacts (through other tasks the release tasks depends on)
  • tagging this version in the version control system
  • increasing the version after the release
55 questions
0
votes
1 answer

Use a subproject task in buildTasks in Gradle Release plugin

I'm configuring Gradle Release plugin 2.6.0 and want to use buildTasks as follows (it is in the root build.gradle): buildTasks = ['clean', 'build', 'subprojectA:artifactoryPublish', 'subprojectB:artifactoryPublish'] in order to publish two jars…
0
votes
1 answer

gradle-release build and publish non-snapshot artifacts

I have a multi-module project. And, I want to be able do just do gradle release and get all artifacts of all modules released. One of the problems is that when I include the plugins, I get Task with name 'build' not found in root project ' So,…
Christian Bongiorno
  • 5,150
  • 3
  • 38
  • 76
0
votes
2 answers

Upload multiple aar 's to Nexus using jenkins - gradle release

I need to upload multiple aar's generated from a multi module project. My project structure as follows. Project Root |--Main app |--Sub-Module1 |--Sub-Module2 |--Sub-Module3 Each sub module generates aar files that I need to upload the…
0
votes
1 answer

gradle release plugin release-opinion

Im trying to use gradle release plugin to deploy my artifact on a private nexus repository but actually i face a problem during the upload archive fase. the upload arrives to the end even if nexus answer with a 400 but inside the release repository…
Loki
  • 659
  • 1
  • 8
  • 18
0
votes
1 answer

gradle not executing build during release task

I am using gradle release plugin to push artifacts to artifactory. I want to run the following the tasks before publishing - build, assemble The documentation says that build task is executed during release task. 1) I want to include the app.war and…
brain storm
  • 30,124
  • 69
  • 225
  • 393
0
votes
1 answer

gradle-release-plugin - use git commitid in manifest.mf

I would like to use the git commitId in the manifest.mf file. In the current gradle-release-plugin version tagging will be done after build task. So git commitId can not be used in manifest.mf file. Are there any plans to support something like…
0
votes
1 answer

Relationship between tagTemplate and newVersionCommitMessage options in gradle-release-plugin

It's a minor thing, but in my build.gradle file I have gradle-release-plugin configured like: plugins { id 'net.researchgate.release' version '2.3.4' } release { tagTemplate = 'release-${version}' scmAdapters = [ …
Dzieciak
  • 83
  • 11
0
votes
1 answer

How to exclude a gradle task or method during build

I defined a task that reads the property file and updates a certain field. I want this to run only when I execute 'release' and not during 'build'. I am using this gradle-release plugin for release :…
gaganbm
  • 2,663
  • 3
  • 24
  • 36
0
votes
1 answer

gradle-release-plugin no tags but generate version on CI

We have a gradle release plugin being used in our project, today if you run gradle release it does what i've listed below. Builds the code and creates war with specific version Does release plugin specifics (vcs update check(s), tags the release,…
0
votes
1 answer

Deploying a gradle script from Jenkins using the artifactory plugin

I'm trying to deploy a build from jenkins using the artifactory invocation of gradle plugin and get a an HTTP error 302, going through the log looks like there's a checksum problem that cannot be skipped: 13:35:41.463 [DEBUG]…
1 2 3
4