Comments (5)
stack trace.
at com.github.prokod.gradle.crossbuild.utils.DependencyInsights.extractCrossBuildProjectTypeDependenciesRecursively(DependencyInsights.groovy:447)
at com.github.prokod.gradle.crossbuild.utils.DependencyInsights.extractCrossBuildProjectTypeDependenciesRecursively(DependencyInsights.groovy:447)
at com.github.prokod.gradle.crossbuild.utils.DependencyInsights.extractCrossBuildProjectTypeDependenciesRecursively(DependencyInsights.groovy:447)
at com.github.prokod.gradle.crossbuild.utils.DependencyInsights.extractCrossBuildProjectTypeDependenciesRecursively(DependencyInsights.groovy:447)
at com.github.prokod.gradle.crossbuild.utils.DependencyInsights.extractCrossBuildProjectTypeDependenciesRecursively(DependencyInsights.groovy:447)
at com.github.prokod.gradle.crossbuild.utils.DependencyInsights.extractCrossBuildProjectTypeDependenciesRecursively(DependencyInsights.groovy:447)
from gradle-crossbuild-scala.
Hi,
For the sake of simulating it in test. Can you please share more details on the actual use case that triggered this ? module names used (alphabetical order), and the task it fails on ? If you run gradle command on the project, which tasks trigger this behavior? I tried with two modules like so:
{
project("lib") {
dependencies{
testCompile project("app")
}
project("app") {
dependencies{
compile project("lib")
}
}
But could not trigger stack overflow with build
/ tasks
from gradle-crossbuild-scala.
I cannot reproduce the exact error in a small application since it was in an complex project with 10 sub projects where i had this dependency from one project that then dependended on the other as a test dependendency.
The simple project you send doesn't have any tests/sources and it really needs all of those to trigger the resolving of the crossbuild plugin. i tried to make a quick project but i couldn't get it to trigger the error.
but it is resolved by the PR i made.
from gradle-crossbuild-scala.
So I have been able to reproduce this with circular dependency test (see #74 )
The code up to the fix was not handling circular dependencies cases.
Now when this happens the user will trigger Gradle's framework Circular dependency exception
from gradle-crossbuild-scala.
Thank you for the help!
from gradle-crossbuild-scala.
Related Issues (20)
- Current maintenance and development effort of plugin HOT 4
- Possible root cause for `SourceSet with name 'crossBuildScala_211' not found` HOT 5
- Publish Sources and JavaDoc HOT 4
- gradle 7 support. HOT 1
- For an implementation dependency the compile scope is used instead of runtime scope in the generated pom HOT 1
- Test suite takes long time to complete
- Question: How to pass on extra information to subprojects? HOT 3
- When using Gradle Kotlin scripts and using the Plugin's ext property Exception is raised
- To add a task that will run all cross build jar tasks in a bulk
- Plugin Building - allow project to publish to maven local
- Support Gradle shadow plugin
- Support for Scala 3 HOT 2
- pom dependency scopes correct for main build but incorrect for crossbuilds HOT 1
- Support incremental build HOT 4
- Emulating sbt's CrossVersion.for3Use2_13 HOT 1
- [Need help] Adding Scala 3 support to an existing Scala 2.xx gradle build HOT 2
- Set `-release` parameter instead of `-target` HOT 14
- Plugin wrongly replaces scala-library dependency with scala3-library_3 as part of dependency resolution
- Target compilation strategy names are confusing / misleading
- Add target compilation strategy none 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-crossbuild-scala.