How to rename your React Native Android package the lazy way

So recently I had to rename the Java package of my react-native project; all the sources I found mentioned editing several files. That all sounded like a lot of work, so I did this from the toplevel instead:

cd android; ./gradlew clean; cd ..
find android -type f -exec sed -i 's/com.package/' '{}' \;