Compile mod without obfuscation to be used as dependency for other project

Can I compile my mod without obfuscating the resulting code? I want to use the compiled jar as a dependency in one of my other mods which I launch from the eclipse workspace so I need an unobfuscated result. I don't want to link to the source directly because I don't want to provide that source on the github if possible, just the final (unobfuscated) jar.
I just want to add a note for all of you that read this:   Things that you have to copy to your build.gradle:     Make sure to include this after the minecraft {...} tab.
    • Thanks