NewPipeExtractor
NewPipeExtractor copied to clipboard
Refactor build and publishing setup
Summary
This PR:
- Migrates build DSL to Kotlin as it has better syntax, highlights and lint support compared to groovy
- Switches to build version catalog to manage dependencies version across all modules in one place
- Relocates all publishing and test steps to extractor module
- Adds missing information for publishing extractor on mavencentral
Due diligence
- [x] I carefully read the contribution guidelines and agree to them.
- [x] I have tested the API against NewPipe.
- [x] I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.
Signing support is still missing as that's needed for mavencentral
I couldn't find classes from the timeago-* modules in the currently generated jar file for the extractor nor do they seem to be getting generated separately or consumed in the NewPipe app. This made me assume that they are supposed to be consumed by the extractor and aren't supposed to be released.
Hence, I moved the javadoc, source and publishing setup to the extractor module.
Signing support is still missing as that's needed for mavencentral
I will do this in a separate PR