uschindler opened a new pull request, #11836:
URL: https://github.com/apache/lucene/pull/11836

   This closes #11819.
   
   This is a bit of hack, but after trying a few times with Intellij Idea: When 
Gradle is running in ideaSync mode, we do some late evaluation:
   - remove all source folders from the `/main\d+/` sourceSets
   - exclude those directories explicit from Idea Config
   
   For me this works with Idea 2022.2.2 (Community Edition). 
   
   To test delete your .idea folder from checkout. Restart Idea and tell it to 
reapply it as "Gradle project". The alternative is to go to  View -> Tool 
Windows -> Gradle and then right-click on root project and select "Reload 
Gradle Project". Maybe there's a shorter way to do this, but as newcomer this 
IDE drains my head completely.
   
   When you build the project using gradle inside IDEA it will of course also 
generate the MR-JAR and compile the Java 19 classes (using Gradle's toolkit 
API). You can also edit the Java source files, but because of missing JDK you 
can't get autocomplete and syntax checks.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to