Is it possible to have build options based on different sets of sources for a traditional java application (NOT an android project) in intellij?
I would like to use a feature like productFlavors, which comes with the android gradle plugin, but for a regular Java application.
Example:
library_red -- HelloImpl.java library_blue -- HelloImpl.java library_common -- Hello.java compiled library_blue -- Hello.class, HelloImpl.class compiled library_red -- Hello.class, HelloImpl.class
java intellij-idea build.gradle gradle
user3904083
source share