pandorapan/build.gradle

51 lines
1.7 KiB
Groovy
Raw Normal View History

2022-07-18 15:31:45 +08:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
apply from: "dependencies.gradle"
buildscript {
ext.kotlin_version = '1.6.20'
2022-07-18 15:31:45 +08:00
repositories {
maven { url "https://mvn.mob.com/android" }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.fabric.io/public' }
2022-09-17 16:54:58 +08:00
maven { url 'http://maven.faceunity.com/repository/maven-public/' }//美颜库
2022-07-18 15:31:45 +08:00
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.2'
2022-07-18 15:31:45 +08:00
//一键压缩png工具
classpath 'com.chenenyu:img-optimizer:1.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20"
2022-07-18 15:31:45 +08:00
classpath 'com.google.gms:google-services:4.3.3'
2022-10-24 17:55:43 +08:00
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
2022-07-18 15:31:45 +08:00
}
}
2022-09-19 13:51:59 +08:00
2022-07-18 15:31:45 +08:00
allprojects {
repositories {
maven { url "https://maven.rongcloud.cn/repository/maven-releases/" }
mavenCentral()//由于jcenter问题导致https://dl.bintray.com无法访问改成这个以后都可以使用这个库
maven { url "https://mvn.mob.com/android" }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'http://developer.huawei.com/repo'}//华为库
maven { url 'https://maven.fabric.io/public' }
2022-09-17 16:54:58 +08:00
maven { url 'http://maven.faceunity.com/repository/maven-public/' }//美颜库
2022-07-18 15:31:45 +08:00
maven { url "https://jitpack.io" }
google() // Google's Maven repository
}
}
task clean(type: Delete) {
delete rootProject.buildDir
2022-09-19 13:51:59 +08:00
}