-
Notifications
You must be signed in to change notification settings - Fork 46
/
build.gradle
63 lines (53 loc) · 1.87 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
buildscript {
ext.kotlin_version = '1.4.0'
repositories {
maven { setUrl("https://maven.aliyun.com/repository/public") }
maven { setUrl("https://maven.aliyun.com/repository/google") }
mavenCentral()
google()
maven { url 'https://jitpack.io' }
maven { setUrl("https://artifact.bytedance.com/repository/byteX/") }
jcenter()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
// classpath 'com.android.tools.build:gradle:4.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
//比对字节码
classpath 'io.github.wurensen:gradle-android-plugin-aspectjx:2.0.14'
classpath "com.bytedance.android.byteX:base-plugin:0.3.0"
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
classpath 'io.github.knight-zxw:lancet-plugin:0.0.7'
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
// classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven { setUrl("https://maven.aliyun.com/repository/public") }
maven { setUrl("https://maven.aliyun.com/repository/google") }
mavenCentral()
google()
maven { url 'https://jitpack.io' }
maven { setUrl("https://artifact.bytedance.com/repository/byteX/") }
mavenLocal()
}
}
subprojects { project ->
group = GROUP
version = VERSION_NAME
tasks.withType(Javadoc) {
enabled = false
}
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "s01"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}