yqritc / Android-ScalableVideoView

Android Texture VideoView having a variety of scale types like the scale types of ImageView such as fitCenter, centerCrop, centerTopCrop and more
Apache License 2.0
1.09k stars 223 forks source link

Maven Repo after JCenter shutdown #52

Open stigi opened 3 years ago

stigi commented 3 years ago

Hello,

The jcenter repository is being deprecated and maintainers are advised to move to other repos, such as maven central.

Are there plans to publish this library to another repo?

For context: We are using this library as a dependency of react-native-video and React Native is removing the jcenter repository in it's upcoming release: https://github.com/facebook/react-native/pull/31609

Thanks 🙌🙇‍♂️

stigi commented 3 years ago

Additional context: I believe from react-natives side there's the assumption that jitpick would take over, but version 1.0.4 has build issues on jitpack: https://www.jitpack.io/#yqritc/Android-ScalableVideoView

AdeilsonESilva commented 3 years ago

Additional context: I believe from react-natives side there's the assumption that jitpick would take over, but version 1.0.4 has build issues on jitpack: https://www.jitpack.io/#yqritc/Android-ScalableVideoView

@stigi some alternative?

lucis commented 2 years ago

@yqritc I believe you're the one with the right permissions to do that. JCenter/Bintray is expected to shut down to downloads just next month and some libraries use the ScalableVideoView version hosted there.

michaelbayday commented 2 years ago

@yqritc could you please publish this to maven?

akenger commented 2 years ago

@yqritc Yes this ^. Please publish this to maven instead of JCenter.

MatrixFrog commented 2 years ago

I think I've managed to get this working on jitpack: see the last couple of commits at https://github.com/MatrixFrog/Android-ScalableVideoView

You can use my fork of this library by following the instructions at https://www.jitpack.io/#MatrixFrog/Android-ScalableVideoView/v1.0.4-jitpack -- please let me know if it works for you!

And if you found this issue because you're trying to use react-native-video, try changing your dependency in package.json to this:

"react-native-video": "https://github.com/MatrixFrog/react-native-video#11ca8a6799f932a5f24da85dfe68c696ad13a753",

(which just changes react-native-video to depend on my fork of Android-ScalableVideoView)

MatrixFrog commented 2 years ago

Just noticed I forgot to include the jitpack repo, if the above doesn't work try 4f6dad990d17ce42894df993780b5386a9c11b85 instead of 11ca8a

lranches-gemini commented 2 years ago

@MatrixFrog Thanks for your solution as this is the only one that works. What's your plans for this? Do you plan on having the fork for https://github.com/MatrixFrog/Android-ScalableVideoView and https://github.com/MatrixFrog/react-native-video always available till its fixed in the "master" repos?

MatrixFrog commented 2 years ago

yeah i'm happy to leave them up on my github

ricardobeat commented 1 year ago

Jitpack is also now dead: https://github.com/jitpack/jitpack.io/issues/5337