2

I want to create a project that's based on apache 2.0 open source code.
I know that I should include a NOTICE file and the license, but my question is where should I place them? in the code or inside the built application?

0

Place it in the root directory of your project.

3
  • is it fine to place it in the code itself? in a comment (both license and notice)?
    – ATP
    Dec 23 '20 at 16:05
  • 1
    If your project is a single file, put everything in that file. If your project is multiple files, don't put any comment at the top of the files. Just use the LICENSE and NOTICE files.
    – JNic
    Dec 23 '20 at 17:57
  • thanks I got it. but I still don't understand why its necessary nobody is going to see it
    – ATP
    Dec 23 '20 at 18:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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