Repository: Automattic/pocket-casts-android
File: build.gradle.kts (Kotlin)

Code before:
                    buildConfigField("String", "SERVER_CACHE_URL", "\"https://podcast-api.pocketcasts.net\"")
                    buildConfigField("String", "SERVER_CACHE_HOST", "\"podcast-api.pocketcasts.net\"")
                    buildConfigField("String", "SERVER_STATIC_URL", "\"https://static.pocketcasts.net\"")
                    buildConfigField("String", "SERVER_SHARING_URL", "\"https://sharing.pocketcasts.net\"")
                    buildConfigField("String", "SERVER_SHORT_URL", "\"https://pcast.pocketcasts.net\"")
                    buildConfigField("String", "SERVER_SHORT_HOST", "\"pcast.pocketcasts.net\"")
                    buildConfigField("String", "SERVER_WEB_PLAYER_HOST", "\"play.pocketcasts.net\"")
                    buildConfigField("String", "WEB_BASE_HOST", "\"pocketcasts.net\"")
                    buildConfigField("String", "SERVER_LIST_URL", "\"https://lists.pocketcasts.net\"")
                    buildConfigField("String", "SERVER_LIST_HOST", "\"lists.pocketcasts.net\"")

                    signingConfig = signingConfigs.getByName("debug")
                }

                maybeCreate("debugProd").apply {
                    isDebuggable = true
                    isPseudoLocalesEnabled = true
                    enableUnitTestCoverage = false
                    enableAndroidTestCoverage = false
                    ext.set("alwaysUpdateBuildId", false)

                    signingConfig = signingConfigs.getByName("debug")
                }

                maybeCreate("prototype").apply {
                    isDebuggable = false

                    buildConfigField("boolean", "IS_PROTOTYPE", "true")

                    if (canSignRelease) {
                        signingConfig = signingConfigs.getByName("release")
                    }
                }

                named("release") {
                    if (canSignRelease) {
                        signingConfig = signingConfigs.getByName("release")
                    }
                }
            }
        }

        dependencies {
            val coreLibraryDesugaring by configurations
            coreLibraryDesugaring(libs.desugar.jdk)
        }
    }

    plugins.withType<LibraryPlugin>().configureEach {
        configure<LibraryExtension> {
            buildTypes {

Review comment (bug):
Questions (❓):

1. This is what we really want here, right? 🤔
2. Because `isDebuggable` is `false` by default, we set it to `false` here explicitly to make sure reader of this build type can quickly reason about ti, correct? 🤔

Code after:
                }

                maybeCreate("debugProd").apply {
                    isDebuggable = true
                    isPseudoLocalesEnabled = true
                    enableUnitTestCoverage = false
                    enableAndroidTestCoverage = false
                    ext.set("alwaysUpdateBuildId", false)

                    signingConfig = signingConfigs.getByName("debug")
                }

                maybeCreate("prototype").apply {
                    buildConfigField("boolean", "IS_PROTOTYPE", "true")

                    if (canSignRelease) {
                        signingConfig = signingConfigs.getByName("release")
                    }
                }

                named("release") {
                    if (canSignRelease) {
                        signingConfig = signingConfigs.getByName("release")
                    }
                }
            }
        }

        dependencies {
            val coreLibraryDesugaring by configurations
            coreLibraryDesugaring(libs.desugar.jdk)
        }
    }

    plugins.withType<LibraryPlugin>().configureEach {
        configure<LibraryExtension> {
            buildTypes {
                named("release") {
                    isMinifyEnabled = false
                }
            }
        }
        dependencies {
            val lintChecks by configurations
            lintChecks(libs.security.lint)
            lintChecks(libs.wordpress.lint)
        }
    }

    plugins.withType<AppPlugin>().configureEach {
        configure<BaseAppModuleExtension> {