adutra commented on PR #1303:
URL: https://github.com/apache/polaris/pull/1303#issuecomment-2778247462

   General remark: I'm having trouble loading the project with IntelliJ and 
Gradle. 
   
   This is due to this configuration snippet:
   
   
https://github.com/apache/polaris/blob/6b4356b193e7673b7b2880995dc1b3ad7ac1a785/settings.gradle.kts#L65-L73
   
   Two different projects (for scala versions 2.12 and 2.13) are being assigned 
to the same folder: `"${polarisSparkDir}/v${sparkVersion}"`.
   
   IntelliJ / Gradle complains with:
   
   ```
   Executing ':polaris-spark-3.5_2.13:GradleDependencyReportTask'…
   
   Configuration on demand is an incubating feature.
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Multiple projects in this build have project directory 
'/Users/adutra/Projects/oss/polaris/polaris1/plugins/spark/v3.5': 
[:polaris-spark-3.5_2.12, :polaris-spark-3.5_2.13]
   
   * Try:
   > Run with --stacktrace option to get the stack trace.
   > Run with --info or --debug option to get more log output.
   > Run with --scan to get full insights.
   > Get more help at https://help.gradle.org.
   
   BUILD FAILED in 95ms
   12:22:33: Execution finished 
':polaris-spark-3.5_2.13:GradleDependencyReportTask'.
   ```
   
   It is still possible to build the project, but it's impossible e.g. to 
display the projects dependency graph.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to