We use ForgeGradle. There are instructions inside the 'build.gradle' file in this repository.
The licence is located at COPYING.txt, but to save you the trouble, it's GPLv3 (with one of the sounds under CC Attribution License).
Basically, do whatever you want, as long as it's free, open source, and stays under GPL. (Yes, that allows you to use it in your mod-pack.)