forked from WVector/AppUpdate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (59 loc) · 2.15 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
61
62
63
64
65
66
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
try {
//apply from: 'https://raw.githubusercontent.com/hss01248/flipperUtil/gradle7_5/deps/depsLastestChecker.gradle'
//apply from: 'https://raw.githubusercontent.com/hss01248/flipperUtil/gradle7_5/remote3.gradle'
//apply from: 'https://raw.githubusercontent.com/hss01248/flipperUtil/gradle7_5/deps/uploadAllTask.gradle'
}catch(Throwable throwable){
throwable.printStackTrace()
}
apply from:'uploadToPyger.gradle'
ext{
//groupId='com.github.skyNet2017.AppUpdate'
versionCode = '2.0.00'
isPublisToLocal=true
}
ext.kotlin_version = '1.6.21'//1.6.21
ext.novoda_version = '0.4.0'
repositories {
mavenLocal()
mavenCentral()
google()
maven { url 'https://jitpack.io' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://nexus.hss01248.tech/repository/maven-releases/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "com.novoda:bintray-release:$novoda_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
google()
maven { url 'https://jitpack.io' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://nexus.hss01248.tech/repository/maven-releases/' }
maven { url 'https://github.com/link-u/AndroidGlideAvifDecoder/raw/master/repository' }
}
tasks.withType(Javadoc) {
options {
encoding "UTF-8"
charSet 'UTF-8'
links "http://docs.oracle.com/javase/7/docs/api"
}
}
}
ext {
update_app_version = '3.5.2'
}
//防止上传kotlin是报错,
//tasks.getByPath(":update-app-kotlin:releaseAndroidJavadocs").enabled = false
task clean(type: Delete) {
delete rootProject.buildDir
}