buildscript { ext { appcompatVersion = "1.6.1" material = "1.8.0" lifecycleVersion = "2.2.0" navVersion = '2.5.3' roomVersion = "2.5.0" espressoVersion = "3.5.1" } repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.4.1' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navVersion" classpath "com.diffplug.spotless:spotless-plugin-gradle:6.13.0" } } allprojects { repositories { google() mavenCentral() } }