61 lines
2.0 KiB
Groovy
61 lines
2.0 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
apply from: "config.gradle"
|
|
|
|
buildscript {
|
|
ext.kotlin_version = "1.4.31"
|
|
repositories {
|
|
maven { url 'https://storage.zego.im/maven' }
|
|
maven {
|
|
url 'http://maven.aliyun.com/nexus/content/groups/public/'
|
|
}
|
|
maven {
|
|
url 'http://nexus.zhidaoauto.com/repository/maven-releases/'
|
|
}
|
|
maven {
|
|
url 'http://nexus.zhidaoauto.com/repository/maven-public/'
|
|
}
|
|
maven {
|
|
url 'http://nexus.zhidaoauto.com/repository/maven-central/'
|
|
}
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:3.5.3"
|
|
classpath 'gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.18'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
|
// 对kotlin生成doc
|
|
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:0.10.1'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
// classpath 'ly.count.android:sdk-plugin:24.4.1'
|
|
classpath group: 'com.mogo.cloud', 'name': 'upload-plugin', 'version': '1.4.7.49.18-debug'
|
|
|
|
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven { url 'https://storage.zego.im/maven' }
|
|
maven {
|
|
url 'http://maven.aliyun.com/nexus/content/groups/public/'
|
|
}
|
|
maven {
|
|
url 'http://nexus.zhidaoauto.com/repository/maven-releases/'
|
|
}
|
|
maven {
|
|
url 'http://nexus.zhidaoauto.com/repository/maven-public/'
|
|
}
|
|
maven {
|
|
url 'http://nexus.zhidaoauto.com/repository/maven-central/'
|
|
}
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |