After I added this piece of code into settings.gradle.kts the BuildConfig file is not being generated.
pluginManagement {
repositories {
google()
gradlePluginPortal()
mavenCentral()
}
}
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
}
}
rootProject.name = "Banking"
include(":app")
How can I make it be generated again? But I need to keep the code inside settings.gradle.kts.
Edit: I have already tried Invalidating caches and reloading the project.
Fixed it by migrating Gradle from 7.2.2 to 7.3.0. Thank you to everyone who tried to help.