Git Product home page Git Product logo

Comments (12)

wilkinsona avatar wilkinsona commented on April 27, 2024

Sam, can you try the latest snapshot please? The problem you're seeing should be fixed by 3101fcb

from gradle-plugins.

sbrannen avatar sbrannen commented on April 27, 2024

Hi Andy,

I'd be glad to try out the snapshot.

We are currently using the following buildscript dependencies configuration:

classpath("org.springframework.build.gradle:propdeps-plugin:0.0.6")

Which 'snapshot' version and repository would I need to configure?

Cheers,

Sam

from gradle-plugins.

wilkinsona avatar wilkinsona commented on April 27, 2024

Use maven { url "http://repo.spring.io/plugins-snapshot" } for the repository and classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7-SNAPSHOT") for the dependency

from gradle-plugins.

sbrannen avatar sbrannen commented on April 27, 2024

OK. I tried that, and it gets further but now fails with:

A problem occurred configuring project ':spring-beans-groovy'.

You can't change configuration 'runtimeMerge' because it is already resolved!

Caused by: org.gradle.api.InvalidUserDataException: You can't change configuration 'runtimeMerge' because it is already resolved!
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.throwExceptionIfNotInUnresolvedState(DefaultConfiguration.java:388)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$400(DefaultConfiguration.java:45)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$VetoContainerChangeAction.run(DefaultConfiguration.java:488)
at org.gradle.api.internal.DefaultDomainObjectCollection.assertMutable(DefaultDomainObjectCollection.java:258)
at org.gradle.api.internal.DefaultDomainObjectCollection.add(DefaultDomainObjectCollection.java:158)
at org.gradle.api.internal.DelegatingDomainObjectSet.add(DelegatingDomainObjectSet.java:80)
at org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.doAdd(DefaultDependencyHandler.java:81)
at org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.add(DefaultDependencyHandler.java:58)
at org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.add(DefaultDependencyHandler.java:54)
at org.gradle.api.artifacts.dsl.DependencyHandler$add.call(Unknown Source)
at org.springframework.build.gradle.MergePlugin.setup(MergePlugin.groovy:96)
at org.springframework.build.gradle.MergePlugin.this$2$setup(MergePlugin.groovy)
at org.springframework.build.gradle.MergePlugin$_apply_closure1.doCall(MergePlugin.groovy:80)
at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40)
at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25)
at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31)
at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy12.afterEvaluate(Unknown Source)
at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
... 49 more

It looks like the MergePlugin is now the culprit, but my Gradle foo is rather non-existent.

Could you perhaps take a look at it on your machine?

from gradle-plugins.

sbrannen avatar sbrannen commented on April 27, 2024

Never mind: I fixed the problem in our local MergePlugin.

from gradle-plugins.

sbrannen avatar sbrannen commented on April 27, 2024

On a related note, when will 0.0.7 be released?

from gradle-plugins.

wilkinsona avatar wilkinsona commented on April 27, 2024

Ah, good. I'd just reproduced the problem so you've saved me digging any further.

Now that Gradle 2.0's been released, I think a 0.0.7 release makes sense. I'll defer to @rwinch, though.

from gradle-plugins.

rwinch avatar rwinch commented on April 27, 2024

I've pinged @philwebb & once I get buy in from him I can go ahead and release propdeps 0.0.7

from gradle-plugins.

sbrannen avatar sbrannen commented on April 27, 2024

OK. Thanks!

Please add a comment to SPR-11934 once you've done so.

from gradle-plugins.

rwinch avatar rwinch commented on April 27, 2024

propdeps 0.0.7 has been released. @sbrannen Can this be closed now?

from gradle-plugins.

sbrannen avatar sbrannen commented on April 27, 2024

Closing this issue since the fix has been released in version 0.0.7.

from gradle-plugins.

zd-dalibor avatar zd-dalibor commented on April 27, 2024

I have the same issue in gradle 2.1 with 0.0.7 version of this plugin.

Error:(7, 0) You can't change configuration 'classpath' because it is already resolved!

from gradle-plugins.

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.