加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 2.60 KB
一键复制 编辑 原始数据 按行查看 历史
Urasaki 提交于 2023-01-16 22:27 . Update
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.6.21'
// ext.tingyun_sdk_version = '2.14.8'//基调听云SDK版本
// ext.tingyun_ndk_version = '2.0.0'//基调听云NDK版本
repositories {
// maven { url 'https://maven.aliyun.com/repository/google' }
// maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
// maven { url 'https://maven.aliyun.com/repository/public' }
// maven { url 'https://maven.aliyun.com/repository/jcenter' }
// maven { url "https://kotlin.bintray.com/kotlinx/" }
google()
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
// maven { url "http://nexus2.tingyun.com/nexus/content/repositories/snapshots/" }
// // fcm
// maven { url "https://maven.google.com" }
// // hms
// maven { url 'http://developer.huawei.com/repo/'}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
//GreenDao add plugin
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'
// classpath "com.networkbench.newlens.agent.android:agent-gradle-plugin:$tingyun_sdk_version"
// // fcm
// classpath 'com.google.gms:google-services:4.3.4'
// // hms
// classpath 'com.huawei.agconnect:agcp:1.4.1.300'
}
}
allprojects {
repositories {
// maven { url 'https://maven.aliyun.com/repository/google' }
// maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
// maven { url 'https://maven.aliyun.com/repository/public' }
// maven { url 'https://maven.aliyun.com/repository/jcenter' }
// maven { url "https://kotlin.bintray.com/kotlinx/" }
google()
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
maven { url "https://oss.jfrog.org/libs-snapshot" }
// repositories {
// maven { url "http://nexus2.tingyun.com/nexus/content/repositories/snapshots/" }
// }
// // fcm
// maven { url "https://maven.google.com" }
// // hms
// maven { url 'http://developer.huawei.com/repo/'}
}
// ADD THE FOLLOWING
configurations.all {
resolutionStrategy {
force 'org.xerial:sqlite-jdbc:3.34.0'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化