NewPipeExtractor icon indicating copy to clipboard operation
NewPipeExtractor copied to clipboard

Refactor build and publishing setup

Open theimpulson opened this issue 1 month ago • 3 comments

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.

theimpulson avatar Nov 21 '25 10:11 theimpulson

Signing support is still missing as that's needed for mavencentral

theimpulson avatar Nov 24 '25 13:11 theimpulson

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.

theimpulson avatar Nov 24 '25 13:11 theimpulson

Signing support is still missing as that's needed for mavencentral

I will do this in a separate PR

theimpulson avatar Dec 02 '25 09:12 theimpulson