Gradle Setup (For Gradle Version 7+)
Repository configuration for Android-based integrations on Gradle 7 and above.
On Gradle 7+, repositories are declared in settings.gradle under dependencyResolutionManagement, not in the project build.gradle:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Note: If your project uses this settings.gradle style, do not also add the allprojects { repositories { … } } block shown on individual mediation pages — choose one approach, not both.
Confirm the exact repositories TapMind requires with your account manager if your project uses a custom dependency resolution setup.
