How do I use the correct licensing?

I recently made a library for bevy, and want it to be available under the same dual license as bevy. What i've done is created both licence files and copy-pasted the contents, as well as copy the license sections from another bevy project. Is this all I need to do? I'm not a lawyer and am very new to all of this.

2 points · 3 comments · view on lemmy.world

3 Comments

Viewing7384@programming.dev · 3 pts · 3y (2 replies)

I'm also not a lawyer, but including both license files and adding to your README that your project is dual-licensed under both licenses at the user's choice should be sufficient. GitHub should also detect both licenses and show them in the project's side bar.

If you copy-pasted the licenses, just make sure to adapt the MIT license, as it includes the year and name of the copyright holder. You should adapt these to your project.

librecat@lemmy.basedcount.com · 1 pts · 3y (1 reply)

The MIT license I copied (https://github.com/aevyrie/bevy_eventlistener/blob/main/LICENSE-MIT) didn't have that, where should I add/modify it?

Viewing7384@programming.dev · 2 pts · 3y

You can take a look at the MIT license website which has the placeholders.

Fun fact: On GitHub, if you add a file in the web UI and include "LICENSE" in the file name, it gives you a button to choose a license template. Then you can see common license options and a summary of what they do. It also allows you to fill in details like the year and copyright holder.