-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
51 lines (45 loc) · 1.41 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.gradle_plugin = '4.1.2'
ext.kotlin_plugin = '1.6.10'
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url "https://jitpack.io" }
maven { url 'https://120.25.164.233:8081/nexus/content/groups/public/' }
google { url 'https://maven.aliyun.com/repository/google' }
mavenCentral { url 'https://maven.aliyun.com/repository/public' }
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:${gradle_plugin}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_plugin}"
}
}
ext {
versions = [
applicationId : "cn.android.ocr",
appVersionCode: 1,
appVersionName: "2.4.1",
devVersionCode: 1,
devVersionName: "1.0.0",
target : 29,
mini : 21,
compile : 29,
buildTool : "29.0.3",
Gradle : "6.9.1",
IDE : "Android Studio Chipmunk | 2021.2.1",
JDK : "1.8",
OS : "windows10-x64",
]
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}