Is there a way to add a custom gradle scope to the IDEA generated artifact? In my build.gradle file, I add the gradle scope to the idea "compile" scope.
scopes.COMPILE.plus += [configurations.server]
IntelliJ recognizes this and correctly adds the "configurations.server" scope dependencies to the module. Is there a way to add these dependencies to the generated artifact or to have intelliJ not overwrite the artifact when resyncing? I currently have to manually add them everytime I resync with gradle.