Build MIT/EPL/... versions with github and gradle #1336
Replies: 3 comments
-
Hello @arnaudroques, Has there been any progress concerning building the differently licensed plantuml lib files? Is there someone, who might help us with that? That would help us building new PlantUML Eclipse plug-in releases (see discussion). Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @arnaudroques, It seems, your scripts are working already. I've activated building the other differently licensed PlantUML versions, too. Would you please review and merge the PR #1471? Thank you. Best regards. |
Beta Was this translation helpful? Give feedback.
-
Update |
Beta Was this translation helpful? Give feedback.
-
PlantUML is provided under several licenses. Right now, only the GPL version is hosted on github.
Other versions (LGPL, MIT, EPL, ASL...) are hosted on sourceforge.
Recently, we create a tiny preprocessor sjpp for the Javascript CheerpJ version
Now we can use this preprocessor to generate the other licenses version. We have added some
__MIT__
comment in the main source. So it's now possible to generate sources for the MIT version (basically, we remove all code that cannot be release under MIT license).We have set up specific CI ci-mit.yml and gradle build-mit.gradle.kts file to show it working.
The preprocessor can be run as simple jar or plain ant task, which means that is could be simply run from gradle.
However, we are not very confortable with neither github action nor gradle.
And we have probably not done it in the right way.
So we call for help :-)
@soloturn, @gliptak and @The-Lum , you have help us successfully. If you have some time some days, it would be nice that if you could clean our proposal up to the publication of the MIT version.
We would then generalize this to all others licenses.
What do you think about it?
Many thanks for your support!
Beta Was this translation helpful? Give feedback.
All reactions