-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
52 lines (47 loc) · 1.91 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.9.22'
repositories {
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://jitpack.io" }
//https://developer.android.com/topic/libraries/support-library/setup.html
//https://maven.google.com 会 301 跳转到 https://dl.google.com/dl/android/maven2/
maven { url 'https://dl.google.com/dl/android/maven2/' }
maven { url 'https://repo1.maven.org/maven2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:8.5.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
//https://developer.android.com/topic/libraries/support-library/setup.html
//https://maven.google.com 会 301 跳转到 https://dl.google.com/dl/android/maven2/
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://jitpack.io" }
//https://developer.android.com/topic/libraries/support-library/setup.html
//https://maven.google.com 会 301 跳转到 https://dl.google.com/dl/android/maven2/
maven { url 'https://dl.google.com/dl/android/maven2/' }
maven { url 'https://repo1.maven.org/maven2/' }
}
// tasks.withType(Javadoc) {
// options.addStringOption('Xdoclint:none', '-quiet')
// options.addStringOption('encoding', 'UTF-8')
// }
}
//subprojects {
// tasks.withType(Javadoc).all { enabled = false }
//}
ext {
sourceCompatibilityVersion = JavaVersion.VERSION_17
targetCompatibilityVersion = JavaVersion.VERSION_17
jvmTarget = "11"
compileSdkVersion = 34
targetSdkVersion = 31
minSdkVersion = 21
fastjson = '1.1.71.android'
okhttp = '4.10.0'
libGroup = 'com.github.su1216.workbox'
version = '0.9.9.7' // 版本号
}