LendingClub / gradle-maven-plugin

maven plugin to invoke gradle
73 stars 36 forks source link

Enhancement request: Can mvn --offline be detected and passed to gradle plugin #12

Open dlethin opened 9 years ago

dlethin commented 9 years ago

In the case where someone runs mvn on the command line with --offline option, it would be convenient for the gradle plugin to detect the fact that offline mode is enabled and then automatically include "--offline" in the argument list for invoking gradle. This way we don't have to come up with our mechanism for telling both mvn and gradle to be offline. Developers use to mvn will tend to only remember the mvn --offline option.

Thanks.