forked from trycatchx/RocketX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (34 loc) · 1.28 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
apply from: "common.gradle"
apply from: "config.gradle"
buildscript {
repositories {
// mavenLocal {url "${rootDir.absolutePath}/repos"}
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20'
classpath 'com.alibaba:arouter-register:1.0.2'
//
// def pluginDir = getProjectDir().getAbsolutePath() + File.separator + "libs"
// def rockectxFile = new File(pluginDir,"buildSrc.jar")
// classpath files(rockectxFile)
}
}
allprojects {
repositories {
flatDir {
dirs project(':projectA').file('libs')
dirs project(':projectC').file('libs')
}
// mavenLocal { url "${rootDir.absolutePath}/repos" }
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
mavenCentral()
google()
maven { url "https://plugins.gradle.org/m2/" }
}
}