// Top-level build file where you can add configuration options common to all sub-projects/modules. apply from: "/android_data/data.gradle" buildscript { ext { agp_version = '8.10.0' kotlin_version = '2.0.0' } repositories { maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/jcenter' } google() jcenter() maven { url 'https://www.jitpack.io' } mavenCentral() maven { url 'https://repo1.maven.org/maven2/' } //mintegral sdk依赖 引入mintegral sdk需要添加此maven maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_support/" } maven { url "https://artifact.bytedance.com/repository/pangle" } } dependencies { classpath "com.android.tools.build:gradle:$agp_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin classpath 'org.greenrobot:greendao-gradle-plugin:3.3.1' // 升级插件版本 classpath "com.github.qq549631030:android-junk-code:1.3.3" } } allprojects { repositories { maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/jcenter' } google() jcenter() maven { url 'https://www.jitpack.io' } //GroMore SDK依赖 maven { url "https://artifact.bytedance.com/repository/pangle" } maven { url 'https://repo1.maven.org/maven2/' } maven { url "http://124.221.136.193:3000/app-lib/JKBaseLib/raw/master/maven" allowInsecureProtocol = true // 允许HTTP } mavenCentral() } } //dependencyResolutionManagement { // repositories { // maven { // url "https://gitee.com/jiangke/maven-repo/raw/master" // allowInsecureProtocol = true // 允许HTTP // credentials { // 私有库认证 // username = "799657600@qq.com" // password = "5cd7d4645c116fcb5ec8a233d1aed2ca" // Gitee设置中生成 // } // } // } //} task clean(type: Delete) { delete rootProject.buildDir }