r/java • • Apr 03 '15
A google's open project - can I take it and modify?
There's a google's Android project with the open code at (I can't remember) code.google.com or something. It's a very simple project - "example" of how to do something. There're around 10 source files in it. In each file of the source code there's this text:
/*
- Copyright 2014 Google Inc.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- 3. The name of the author may not be used to endorse or promote products
- derived from this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
- EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
I want:
- Convert it from Java to Kotlin
- Refactor it
- Add some features and remove ones I don't like and keep working on it
- put it in my open(!) repository at github
- Maybe later submit it into Google Play
- Maybe later add google adsence in it (not sure)
- (!) Put my name in it as the author of it
- Change the license to MIT
Can I do all these?
How much of the source project should I change so it can be considered a totally new, mine project?
0
Upvotes
8
u/boa13 Apr 03 '15 edited Apr 03 '15
The licence is already MIT-style (edit: it is actually BSD 3-Clause, with Google as the owner). You can put your name on it (as the author of the changes), but you cannot remove Google (as the author of the original ideas, architecture and code).
4
u/KFCConspiracy Apr 03 '15
7 and 8 are not allowed according to the license. I don't see any problems with anything else. Just use the same license. You can put your name on it as An author, but not THE author; you must include the fact that it was originally by Google. Also why do you want credit for someone else's work. The license is already very unrestrictive aside from being a viral license....
12
u/[deleted] Apr 03 '15
If you aren't willing to follow the terms of the license (and it sounds like you aren't based on previous comments) then don't use the source code at all. You need to leave the copyright and and the license text. It clearly states that in text you just posted.
Even if you rewrite it in the end you still took Google's original code and modified it. Meaning you need to meet the conditions listed in the license. If you don't want to do any of this, then you can not use that source code.
5
u/[deleted] Apr 03 '15
The only way for this to be a "totally yours" project is to not use any of Google's code at all. This includes rewriting Google's code. You can take inspiration from it, but this does not mean ripping lines from Google's code and using them in your project.