64 lines
2.0 KiB
Groovy
64 lines
2.0 KiB
Groovy
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||
|
|
apply from: "/android_data/data.gradle"
|
||
|
|
apply from: '/BookReader/versions.gradle'
|
||
|
|
buildscript {
|
||
|
|
ext {
|
||
|
|
agp_version = '8.10.0'
|
||
|
|
kotlin_version = '2.0.0'
|
||
|
|
}
|
||
|
|
repositories {
|
||
|
|
google()
|
||
|
|
mavenCentral()
|
||
|
|
maven { url "https://jitpack.io" }
|
||
|
|
maven {
|
||
|
|
url 'http://maven.aliyun.com/nexus/content/groups/public/'
|
||
|
|
allowInsecureProtocol = true
|
||
|
|
}
|
||
|
|
maven {
|
||
|
|
url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'
|
||
|
|
allowInsecureProtocol = true
|
||
|
|
}
|
||
|
|
|
||
|
|
//mintegral sdk依赖 引入mintegral sdk需要添加此maven
|
||
|
|
maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_support/" }
|
||
|
|
maven { url "https://artifact.bytedance.com/repository/pangle" }
|
||
|
|
}
|
||
|
|
dependencies {
|
||
|
|
classpath "com.android.tools.build:gradle:$agp_version"
|
||
|
|
|
||
|
|
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.1' // add plugin
|
||
|
|
|
||
|
|
// classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20'
|
||
|
|
|
||
|
|
classpath "com.github.qq549631030:android-junk-code:1.3.3"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
allprojects {
|
||
|
|
repositories {
|
||
|
|
maven {
|
||
|
|
url 'http://maven.aliyun.com/nexus/content/groups/public/'
|
||
|
|
allowInsecureProtocol = true
|
||
|
|
}
|
||
|
|
maven {
|
||
|
|
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
|
||
|
|
allowInsecureProtocol = true
|
||
|
|
}
|
||
|
|
|
||
|
|
google()
|
||
|
|
mavenCentral()
|
||
|
|
|
||
|
|
maven {
|
||
|
|
url "http://lib.gcssloop.com:8081/repository/gcssloop-central/"
|
||
|
|
allowInsecureProtocol = true
|
||
|
|
}
|
||
|
|
maven { url "https://jitpack.io" }
|
||
|
|
|
||
|
|
maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_support/" }
|
||
|
|
maven { url "https://artifact.bytedance.com/repository/pangle" }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
task clean(type: Delete) {
|
||
|
|
delete rootProject.buildDir
|
||
|
|
}
|