Porting to 1.19
Do the following changes to build.gradle. First visit The Forge Download Site to see what the latest version of Forge is. Then change the minecraft dependency to that version. For example:
Also you want to set the correct mappings. Check The Parchment Wiki to find the latest version. As of this moment there are no parchment mappings for 1.19 so we use official mappings instead:
mappings channel: 'official', version: "1.19"