compileSdkVersion is deprecated

Reference:

https://developer.android.com/reference/tools/gradle-api/8.2/com/android/build/api/dsl/CommonExtension#compileSdkVersion(kotlin.Int)

and buildToolsVersion too:

https://developer.android.com/reference/tools/gradle-api/8.2/com/android/build/api/dsl/CommonExtension#buildToolsVersion()

This method is deprecated, so you can safely manage this situation in your build.gradle file at module leve (not the App) with:

android {
    compileSdk 34
    buildToolsVersion = "34.0.0"
    defaultConfig {
        applicationId "com.example.app"
        minSdkVersion 21
        targetSdkVersion 34
        versionCode 10000
        versionName "1.00.00"
    }
[...]
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}