pdlivexp/build.gradle

61 lines
2.4 KiB
Groovy
Raw Permalink 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"
apply from: "config.gradle"
2022-07-18 15:31:45 +08:00
buildscript {
2024-07-13 10:37:37 +08:00
ext.kotlin_version = '1.8.22'
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' }
2024-07-13 10:37:37 +08:00
maven { url 'https://maven.faceunity.com/repository/maven-public/' }//美颜库
2023-08-22 14:03:04 +08:00
maven { url 'https://repo1.maven.org/maven2/' }//埋点
2023-11-27 17:12:27 +08:00
maven {url 'https://developer.huawei.com/repo/'}
2024-07-13 10:37:37 +08:00
maven { url "https://jitpack.io" }
2022-07-18 15:31:45 +08:00
google()
mavenCentral()
}
dependencies {
2024-07-13 10:37:37 +08:00
classpath 'com.android.tools.build:gradle:8.3.1'
2022-07-18 15:31:45 +08:00
//一键压缩png工具
classpath 'com.chenenyu:img-optimizer:1.3.0'
2024-07-13 10:37:37 +08:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
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'
2024-07-13 10:37:37 +08:00
classpath "com.github.jadepeakpoet.ARouter:arouter-register:1.0.3"
2023-11-27 17:12:27 +08:00
classpath 'com.huawei.agconnect:agcp:1.5.2.300'
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' }
2024-07-13 10:37:37 +08:00
maven { url 'https://developer.huawei.com/repo'}//华为库
2022-07-18 15:31:45 +08:00
maven { url 'https://maven.fabric.io/public' }
2024-07-13 10:37:37 +08:00
maven { url 'https://maven.faceunity.com/repository/maven-public/' }//美颜库
2022-07-18 15:31:45 +08:00
maven { url "https://jitpack.io" }
2023-08-22 14:03:04 +08:00
maven { url 'https://repo1.maven.org/maven2/' }//埋点
2022-07-18 15:31:45 +08:00
google() // Google's Maven repository
}
}
/*task clean(type: Delete) {
2022-07-18 15:31:45 +08:00
delete rootProject.buildDir
}*/
2024-04-18 09:47:38 +08:00
ext {
IS_PUBLISH_LOCAL=true
LIB_VERSION="1.0.6"
2024-07-17 12:12:14 +08:00
AGORA_RTC_SDK= 'io.agora.rtc:agora-special-full:4.2.6.14'
2024-04-18 09:47:38 +08:00
// AGORA_RTC_SDK= "${rootProject.rootDir.absolutePath}/sdk"
// AGORA_RTC_SDK="io.agora.rtc:full-sdk:4.2.6"
2024-04-18 09:47:38 +08:00
}