-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (54 loc) · 2.01 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: 'dependencies.gradle'
apply from: 'gradle/app/app_config.gradle'
apply from: 'gradle/app/app_build.gradle'
apply from: 'gradle/app/app_flavors.gradle'
buildscript {
ext.kotlin_version = "1.5.30"
ext.arouter_register_version = "1.0.2"
ext.hilt_version="2.41"
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "com.alibaba:arouter-register:$arouter_register_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
/*
maven {
url 'https://dl.google.com/dl/android/maven2/'
name 'Google'
}
*/
maven { url 'https://jitpack.io' }
//maven { url "https://plugins.gradle.org/m2/" }
//maven { url "http://maven.aliyun.com/nexus/content/repositories/releases" }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':cams-module-main')
implementation project(':cams-module-home')
implementation project(':cams-module-login')
implementation project(':cams-module-mine')
implementation project(':cams-module-project')
implementation project(':cams-module-publis')
implementation project(':cams-module-square')
implementation project(':cams-component-cache')
implementation project(':cams-component-database')
implementation project(':cams-component-image')
implementation project(':cams-component-network')
implementation project(':cams-component-web')
}