代码拉取完成,页面将自动刷新
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
buildscript {
ext {
compileSdkVersion = 28
buildToolsVersion = '28.0.3'
targetSdkVersion = 27
minSdkVersion = 19
butterknife_version = '10.1.0'
kotlin_version = '1.4.10'
}
repositories {
google()
jcenter()
mavenCentral()
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases' }
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
maven { url 'https://maven.aliyun.com/repository/google/' }
maven { url 'https://maven.aliyun.com/repository/jcenter/' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
//butterknife库中使用
classpath 'com.jakewharton:butterknife-gradle-plugin:10.1.0'
classpath "io.objectbox:objectbox-gradle-plugin:2.3.4"
classpath "com.alibaba:arouter-register:1.0.2"
//kotlin配置
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
classpath "com.jakewharton:butterknife-gradle-plugin:$butterknife_version"
}
}
allprojects {
repositories {
google()
maven { url ' https://dl.google.com/dl/android/maven2/' }
jcenter()
maven { url 'https://maven.aliyun.com/repository/google/' }
maven { url 'https://maven.aliyun.com/repository/jcenter/' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
// 添加下面的内容
flatDir {
dirs 'libs'
}
maven { url "https://jitpack.io" }
maven { url 'http://git.baijiashilian.com/open-android/maven/raw/master/' }
// maven { url 'https://raw.github.com/baijia/maven/master/' }
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
//保利卫视
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
maven { url 'https://dl.bintray.com/polyv/android' }
maven {url 'https://dl.bintray.com/bokecc/maven'}
maven {url 'http://nexus-app.bokecc.com/repository/sdk-group/'}
//使用投屏功能时添加此配置,不使用不需要
maven { url 'http://4thline.org/m2' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。