How to add repositories (jitpack) to android/build.gradle?

Trying to stick to the managed workflow and I need to use a native plugin that requires setting iOS minimum platform and Android minSdkVersion and add jitpack as a repository.

This is what I have in my app.json file so far:

    "plugins": [
      [
        "expo-build-properties",
        {
          "android": {
            "minSdkVersion": 19
          },
          "ios": {
            "deploymentTarget": "9.1"
          }
        }
      ]
    ]

How would I add this to Android’s build.gradle file?

allprojects {
  repositories {
    ...
    maven { url "https://jitpack.io" }
  }
}

Any help much appreciated!