forked from LinXueyuanStdio/TimeCatPlugin-PluginManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (58 loc) · 2.64 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
67
buildscript {
apply from: "${gradle.ext.localGradleDir}/settings/deps.gradle"
ext.SAMPLE_HOST_APP_APPLICATION_ID = 'com.tencent.shadow.sample.host'
// ext.shadow_version = 'master-b4632d8f-SNAPSHOT'
ext.shadow_version = '1.1.0'
repositories {
maven { url "file://${gradle.ext.localMavenDir.absolutePath}" }
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://repo1.maven.org/maven2/" }
maven {
name = "GitHubPackages"
url "https://maven.pkg.github.com/shifujun/shadow"
//一个只读账号兼容Github Packages暂时不支持匿名下载
//https://github.saobby.my.eu.orgmunity/t/download-from-github-package-registry-without-authentication/14407
credentials {
username = 'readonlypat'
password = '\u0062\u0036\u0064\u0037\u0035\u0032\u0062\u0061\u0035\u0038\u0063\u0064\u0032\u0061\u0038\u0037\u0064\u0033\u0034\u0033\u0039\u0038\u0035\u0036\u0032\u0034\u0065\u0039\u0031\u0036\u0066\u0065\u0065\u0062\u0031\u0065\u0033\u0037\u0061\u0039'
}
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.0'
classpath classpath.kotlin
classpath classpath.component_router
classpath classpath.bugly
classpath classpath.analysis
classpath classpath.upload
}
}
ext.SAMPLE_HOST_APP_APPLICATION_ID = 'com.tencent.shadow.my.host'
apply from: "publish.gradle"
allprojects {
repositories {
maven { url "file://${gradle.ext.localMavenDir.absolutePath}" }
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://repo1.maven.org/maven2/" }
maven {
name = "GitHubPackages"
url "https://maven.pkg.github.com/shifujun/shadow"
//一个只读账号兼容Github Packages暂时不支持匿名下载
//https://github.saobby.my.eu.orgmunity/t/download-from-github-package-registry-without-authentication/14407
credentials {
username = 'readonlypat'
password = '\u0062\u0036\u0064\u0037\u0035\u0032\u0062\u0061\u0035\u0038\u0063\u0064\u0032\u0061\u0038\u0037\u0064\u0033\u0034\u0033\u0039\u0038\u0035\u0036\u0032\u0034\u0065\u0039\u0031\u0036\u0066\u0065\u0065\u0062\u0031\u0065\u0033\u0037\u0061\u0039'
}
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots" } // for org-java
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}