Comments (7)
Could you please give more details on how it is failing?
A minimal
plugins {
id 'ch.netzwerg.release' version '1.0.0'
}
apply plugin: 'java'
works for me.
from gradle-release-plugin.
I do not have the java plugin applied to the project where I have the release plugin applied. I have a multi-project setup, applying the release plugin to the root project (which is otherwise pretty empty). The java plugin is only applied to the sub-projects.
from gradle-release-plugin.
Thanks, Etienne. I can reproduce it in a multi-project setup and will fix it asap.
from gradle-release-plugin.
I have just committed a fix which resolves the issue for my test setup. Please give it a spin and let me know whether it works for you.
Multi-project task resolution is beyond my limited Gradle knowledge -- if you see potential for improvement, a PR would be highly appreciated!
from gradle-release-plugin.
I will try it out. Though, I must say that the 'afterEvaluate' approach does not fit well when you need the processed version available sooner than that.
from gradle-release-plugin.
I have reverted my fix because the approach of manually adding a build
task will not work in Gradle 3.0 (as announced here).
Will have to think about an alternative solution...
from gradle-release-plugin.
As a workaround, please add release.dependsOn subprojects.build
to your root project (after the subprojects
block). I will mention this in the README until I have found a proper fix.
from gradle-release-plugin.
Related Issues (20)
- Should it be mentioned it works only with git?
- Push to current branch rather than master
- Clarify docs about the version pattern
- Provide different release tasks for upgrading different parts of the version HOT 1
- All tasks only increment patch version (in submodules) HOT 7
- Version.txt in subprojects HOT 2
- Stop relying on `project.afterEvaluate` for project version initialization
- Wrong message upon version parsing exception
- Could not determine the dependencies of task ':release' HOT 2
- Build succeeds even if git push fails HOT 7
- Master branch is moved after pushing with the plugin HOT 2
- pass in authentication credential and patch release HOT 2
- Add `releasePatchVersion` task (identical to current `release` task)
- Hook to publish release HOT 6
- git executable output needs to be logged before exiting HOT 10
- Support usage of abbreviated task names
- Issue with Single Quotes on Windows HOT 3
- Add support for flavor based version.txt HOT 1
- Unable the push tags HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-release-plugin.