buildscript { ext.kotlin_version = '1.5.31' repositories { google() maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'} } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21" classpath 'com.android.tools.build:gradle:4.2.1' } } allprojects { repositories { flatDir { dirs 'libs' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } maven { url "https://jitpack.io" } // maven { url 'http://47.93.180.222:8081/repository/mobile-releases/' }//德卡读卡器仓库 } } task clean(type: Delete) { delete rootProject.buildDir }