forked from jiangdongguo/AndroidUSBCamera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (35 loc) · 1 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
allprojects {
repositories {
google()
maven { url 'http://raw.github.com/saki4510t/libcommon/master/repository/' }
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
androidXVersion = '1.1.0' // variable that can be referenced to keep support libs consistent
commonLibVersion= '4.1.1'
versionCompiler = 28
// when target=27, 9.0 is ok
versionTarget = 27
// if hope supporting 4.4
// please modify it to 16
minSdkVersion = 21
versionCode = 100
versionNameString = '2.3.5.20210316'
javaSourceCompatibility = JavaVersion.VERSION_1_8
javaTargetCompatibility = JavaVersion.VERSION_1_8
}