Groovy is licensed under the Apache 2 license:

http://www.apache.org/licenses/LICENSE-2.0.html