-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
45 lines (43 loc) · 1.56 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
buildscript {
repositories {
if (Boolean.parseBoolean(USE_LOCAL_MAVEN)) {
maven {
url = rootProject.file(REPO_NAME)
}
}
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://artifact.bytedance.com/repository/byteX/' }
mavenCentral()
mavenLocal()
gradlePluginPortal()
maven { url 'https://jitpack.io' }
google()
}
dependencies {
classpath "com.android.tools.build:gradle:${ANDROID_GRADLE_PLUGIN}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN_VERSION}"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:${KOTLIN_VERSION}"
classpath "com.spotify.ruler:ruler-gradle-plugin:1.2.1"
if (!Boolean.valueOf(PUBLISH_MAVEN)) {
classpath "com.github.Android-Mainli:AnalyzeSoPlugin:${ANALYZE_SO_PLUGIN_VERSION}"
}
}
}
allprojects {
repositories {
if (Boolean.parseBoolean(USE_LOCAL_MAVEN)) {
maven {
url = rootProject.file(REPO_NAME)
}
}
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url "https://raw.githubusercontent.com/Android-Mainli/Maven/master" }
maven { url 'https://artifact.bytedance.com/repository/byteX/' }
mavenCentral()
mavenLocal()
google()
maven { url 'https://jitpack.io' }
}
}