If you're on Lazysodium version 4 or below and you want to upgrade to version 5, then there are a few things that have been added which you need to note.
The first thing to note is that Lazysodium is no longer on jCenter/Bintray and you need to use mavenCentral instead. Up-to-date instructions on how to switch to mavenCentral can be found on the Installation page.
Another thing to note is that the package ID has been changed from com.goterl.lazycode to com.goterl. This should be a simple find and replace change inside Gradle and your code files.
If you're on Lazysodium version 2 and you want to upgrade to version 3, then there are a few things that have been added which you need to note.
cryptoSecretBoxKeygen functions now return a
Key holds a bunch of bytes that represent maybe a master key, or a subkey, or any type of key. The reason why Lazysodium chose to use this was mainly because users of the library were getting confused as to what to put into functions like:
secretBoxLazy.cryptoSecretBoxEasy(String message, byte nonce, String key);