Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm using LibGDX and deploying a runnable jar file, using the Eclipse feature, with libraries extracted into it. There are also .so files and .dlls inside.

1 . Is it legal to do so? I didn't find anything about deploying to a single jar file. 2 . If 1 is legal, if I obfuscate the jar file, maybe with ProGuard, will it be still legal?

share|improve this question

2 Answers 2

up vote 7 down vote accepted

Obviously not a lawyer, so this isn't legal advice, but my personal interpretation is:

The code is licensed under Apache License, Version 2.0. If you read the Redistribution section:

You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form...

So, yes, you can package it with your jar file. And I would argue that obfuscating the code is modifying it. However, one of the conditions of redistribution is:

If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file...

You need to keep all the notices intact. So don't obfuscate those away :).

share|improve this answer
    
Chosen this answer because it was more accurate. Thanks! –  TM3P Mar 12 '13 at 19:00

According to the Google Code page, the license is attribution + share-alike. I quote (emphasis mine):

Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

That means "yes."

share|improve this answer
    
Thanks, but I prefer the answer above :) –  TM3P Mar 12 '13 at 19:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.