defano / wyldcard

A clone of Apple's HyperCard and HyperTalk scripting language.
https://github.com/defano/wyldcard/wiki
MIT License
117 stars 12 forks source link

Gradle. (7.6) "RepositoryHandler.jcenter" deprecated - what and *where* to change? #124

Open Jimw338 opened 1 year ago

Jimw338 commented 1 year ago

I'm not familiar with gradle AT ALL, so this may be a simple question. Version is 7.6, and it's warning that "RepositoryHandler.jcenter()" has been deprecated and to use mavenCentral() instead. "mavenCentral()" is already called/indicated, so where is "jcenter()" being called from? It also said JCenter was going to go away in February 2021, so I guess even deprecations aren't on schedule. Was it pushed back by Covid like everything else? ;-)

Jimw338 commented 1 year ago

Okay, I "experimented" with the gradle script (commenting lines and seeing if the error goes away on running the 'clean' command, or if the whole thing breaks.. Not exactly scientific) and am guessing the error is somewhere in "io.github.fvarrui.javapackager.plugin" plugin - if I comment it the error goes away but compileing "de.dfki.mary:voice-dfki-prudence-hsmm:5.2." fails.

And JFrog has decided to deep "jcenter()" as a read-only repository indefinitely, I presume because of things just like this. (See https://stackoverflow.com/questions/66651640/jcenter-deprecation-impact-on-gradle-and-android)

defano commented 1 year ago

Hi @Jimw338,

I agree with your analysis. Last I looked into this, JCenter had only recently been deprecated and some of the required artifacts, like MaryTTS, had not been pushed to other repos yet.

I will play around with this and see if I can't resolve these issues, unless you'd like to give it a go and submit a PR. :)