Comments (8)
This is a great idea! I would prefer it to be a separate plugin, though. I have created a new repo where I'm experimenting at the moment – will keep you posted...
from gradle-release-plugin.
Sounds good to me.
from gradle-release-plugin.
I have just published a first version on Bintray. Please have a look at the README and let me know if this conceptually suits your needs.
PS: ATM the plugin is only available on jcenter, inclusion in the central Gradle plugin repo is pending...
from gradle-release-plugin.
I will give it a spin!
Once thing I'm wondering: why don't you programmatically apply the base plugin in the pub plugin? It would make the build script more concise and less potential for an accidental version conflict.
from gradle-release-plugin.
Thanks for pointing this out. Actually, I am applying the base plugin programmatically but couldn't get the transitive resolution to work: When building the pub plugin, the base plugin is declared as a compile dependency and things work out correctly. However, when applying the pub plugin, this transitive dependency is missing when the base plugin is not applied explicitly.
from gradle-release-plugin.
I just noticed that the compile dependency is missing in the published POM. That explains why the transitive dependency resolution doesn't work...
from gradle-release-plugin.
You have to apply the dependencies block before the plugindev block. See also:
etiennestuder/gradle-plugindev-plugin#11
This is not an intended behavior of the plugindev plugin and I will investigate the reason for this. For now, changing the order in the script acts as a work-around.
from gradle-release-plugin.
Cool, thanks for the hint. I have changed the order and it works like a charm now!
I'm closing this issue -- feedback is welcome directly on the pub plugin repo.
from gradle-release-plugin.
Related Issues (20)
- Should it be mentioned it works only with git?
- Push to current branch rather than master
- Multi-project setup: `release.dependsOn` configuration should not be mandatory HOT 7
- 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.