// Top-level build file where you can add configuration options common to all sub-projects/modules. // 引入自定义Gradle配置文件 apply from: "config.gradle" buildscript { repositories { google() // jcenter() mavenCentral() mavenLocal() maven { url 'https://jitpack.io' } maven { url 'https://dl.bintray.com/jenly/maven' } maven { url 'https://maven.aliyun.com/nexus/content/groups/public/'} maven { url "https://mirrors.tencent.com/nexus/repository/maven-public/" } } dependencies { classpath "com.android.tools.build:gradle:4.1.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72" // classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() // jcenter() mavenCentral() mavenLocal() maven { url 'https://jitpack.io' } maven { url 'https://dl.bintray.com/jenly/maven' } maven { url 'https://maven.aliyun.com/nexus/content/groups/public/'} maven { url "https://mirrors.tencent.com/nexus/repository/maven-public/" } // flatDir { // dirs project(':lib_print').file('libs') // 我的aar文件已放置到 lib_ffmpeg 模块的libs目录下 // } } } task clean(type: Delete) { delete rootProject.buildDir }