Giter Site home page Giter Site logo

stack overflow about gradle-crossbuild-scala HOT 5 CLOSED

prokod avatar prokod commented on May 30, 2024
stack overflow

from gradle-crossbuild-scala.

Comments (5)

borissmidt avatar borissmidt commented on May 30, 2024

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.

prokod avatar prokod commented on May 30, 2024

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.

borissmidt avatar borissmidt commented on May 30, 2024

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.

prokod avatar prokod commented on May 30, 2024

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.

borissmidt avatar borissmidt commented on May 30, 2024

Thank you for the help!

from gradle-crossbuild-scala.

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.