// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() maven { url "https://jitpack.io" } maven { url 'https://repo1.maven.org/maven2/' } } dependencies { classpath 'com.android.tools.build:gradle:7.0.3' classpath 'com.chenenyu:img-optimizer:1.2.0' } } allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } maven { url 'https://repo1.maven.org/maven2/' } } } task clean(type: Delete) { delete rootProject.buildDir }