Coder Social home page Coder Social logo

Comments (7)

netzwerg avatar netzwerg commented on July 24, 2024

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.

etiennestuder avatar etiennestuder commented on July 24, 2024

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.

netzwerg avatar netzwerg commented on July 24, 2024

Thanks, Etienne. I can reproduce it in a multi-project setup and will fix it asap.

from gradle-release-plugin.

netzwerg avatar netzwerg commented on July 24, 2024

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.

etiennestuder avatar etiennestuder commented on July 24, 2024

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.

netzwerg avatar netzwerg commented on July 24, 2024

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.

netzwerg avatar netzwerg commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.