Comments (12)
Sam, can you try the latest snapshot please? The problem you're seeing should be fixed by 3101fcb
from gradle-plugins.
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.
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.
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.
Never mind: I fixed the problem in our local MergePlugin
.
from gradle-plugins.
On a related note, when will 0.0.7
be released?
from gradle-plugins.
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.
I've pinged @philwebb & once I get buy in from him I can go ahead and release propdeps 0.0.7
from gradle-plugins.
OK. Thanks!
Please add a comment to SPR-11934 once you've done so.
from gradle-plugins.
propdeps 0.0.7 has been released. @sbrannen Can this be closed now?
from gradle-plugins.
Closing this issue since the fix has been released in version 0.0.7
.
from gradle-plugins.
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)
- Plugin fails with spring-ws as DefaultConfiguration_Decorated isn't serializable HOT 2
- IO Plugin custom `springIoVersions` from file HOT 2
- "You can't change a configuration which is not in unresolved state!" when using propdeps and Gradle 2.0-rc-1 HOT 6
- Not compatible with IntelliJ idea gradle integration HOT 1
- Inter project dependencies do not work with default configuration HOT 1
- propdeps plugin puts dependencies into compile configuration breaking expectations HOT 11
- Add propdeps-plugin to Gradle Plugins Portal HOT 3
- propdeps-plugin optional scope creates invalid pom HOT 2
- Can't map custom scope when 'propdeps-maven' used HOT 1
- Plugin with id 'propdeps' not found. HOT 3
- If a dependency is added to both compile and provided, it shows up only provided in IDE HOT 1
- Gradle 2.x fails when examples from README are used HOT 3
- propdeps-plugin doesn't work with maven-publish and other plugins HOT 4
- configuration with name 'provided' ... already exists HOT 2
- Where is spring-boot-gradle-plugin ? HOT 1
- gradle cleanIdea eclipse ERROE HOT 1
- propdeps-plugin - Is provided scope still needed now that compileOnly exists? HOT 4
- Gradle 4.0 Support HOT 2
- spring boot configuration annotation processor not found in classpath 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-plugins.