You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jacek Lewandowski (Jira)" <ji...@apache.org> on 2023/07/14 05:24:00 UTC
[jira] [Created] (CASSANDRA-18668) Generate / add Gradle project to be imported by IDE instead of generating IDE specific project files
Jacek Lewandowski created CASSANDRA-18668:
---------------------------------------------
Summary: Generate / add Gradle project to be imported by IDE instead of generating IDE specific project files
Key: CASSANDRA-18668
URL: https://issues.apache.org/jira/browse/CASSANDRA-18668
Project: Cassandra
Issue Type: Task
Components: Build
Reporter: Jacek Lewandowski
Attachments: image-2023-07-14-07-19-57-787.png
Many IDEs (including IntelliJ) support importing a project from the Gradle script. Having such a definition, we would not have to generate IDE project files after changing a branch or setting up a new work tree.
It is handy for working on the Cassandra project in IntelliJ because it allows running tests with multiple flavors - that is, currently, when we run a test, the default configuration is used. However, in real life, we use a different configuration for regular unit tests, compression, CDC, oa, etc. I found no way to configure that directly in IntelliJ, but when you use a Gradle project, it is possible to configure multiple test tasks and select which one you want to run - see the attached screenshot.
!image-2023-07-14-07-19-57-787.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org