After Update Android studio Chipmunk :- Gradle file Change?

Viewed 1528

I don't understand how to add any dependency in the Gradle Project file after the update

enter image description here

// Top-level build file where you can add configuration options common to all sub- 
projects/modules.
plugins {
  id 'com.android.application' version '7.1.3' apply false
  id 'com.android.library' version '7.1.3' apply false
}

task clean(type: Delete) {
  delete rootProject.buildDir
}
2 Answers

you can add project level dependency in setting.gradle inside dependencyResolutionManagement

if you want to add classpath you can add inside pluginManagement

buildscript {
     dependencies {
           put_yout_dependency_here
      }
}

add this just above plugins{ }

Related