-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
build.gradle
executable file
·42 lines (37 loc) · 1.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
39
40
41
42
apply {
plugin "groovy"
plugin "java-gradle-plugin"
}
gradlePlugin {
plugins {
busPlugin {
id = Config.plugins.plugin_bus.id
implementationClass = 'com.blankj.bus.BusPlugin'
}
}
}
dependencies {
compileOnly Config.plugins.plugin_gradle.path
implementation Config.modules.plugin_lib_base_transform.remotePath
implementation Config.libs.commons_io.path
implementation gradleApi()
implementation localGroovy()
testImplementation Config.libs.test_junit.path
testImplementation Config.plugins.plugin_gradle.path
}
sourceSets {
main {
groovy {
srcDirs += 'src/main/java'
}
}
}
ext {
groupId = Config.plugins.plugin_bus.groupId
artifactId = Config.plugins.plugin_bus.artifactId
version = Config.plugins.plugin_bus.version
website = "https://github.com/Blankj/AndroidUtilCode"
}
apply from: "${rootDir.path}/config/publish.gradle"
//./gradlew clean :plugin_bus-gradle-plugin:mavenLocal // 上传到本地 mavenLocal
//./gradlew clean :plugin_bus-gradle-plugin:bintrayUpload // 上传到 jcenter