Skip to content

Commit 5abf89f

Browse files
committed
see 07/21 log
1 parent 4332ec9 commit 5abf89f

File tree

6 files changed

+7
-10
lines changed

6 files changed

+7
-10
lines changed

art/auc_frame_general.png

78.9 KB
Loading

buildSrc/src/main/groovy/Config.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Config {
2525
// appConfig 配置的是可以跑 app 的模块,git 提交务必只包含 launcher
2626
static appConfig = ['launcher']
2727
// pkgConfig 配置的是要依赖的功能包,为空则依赖全部,git 提交务必为空
28-
static pkgConfig = []
28+
static pkgConfig = ['utilcode']
2929

3030
static depConfig = [
3131
plugin : [

buildSrc/src/main/groovy/ConfigUtils.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class ConfigUtils {
146146
int m = buildSec / 60;
147147
int s = buildSec % 60;
148148
def timeInfo = (m == 0 ? "${s}s" : "${m}m ${s}s (${buildSec}s)")
149-
sb.append("BUILD FINISHED in $timeInfo")
149+
sb.append("BUILD FINISHED in $timeInfo\n")
150150
taskInfoList.each {
151151
sb.append(String.format("%7sms %s\n", it.exeDuration, it.task.path))
152152
}

feature/utilcode/pkg/src/main/java/com/blankj/utilcode/pkg/feature/api/ApiActivity.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ import kotlinx.android.synthetic.main.activity_api.*
1616
* author: Blankj
1717
* blog : http://blankj.com
1818
* time : 2019/03/12
19-
* desc : demo about BusUtils
19+
* desc : demo about ApiUtils
2020
* ```
2121
*/
2222
class ApiActivity : CommonTitleActivity() {
2323

24+
private val api = ApiUtils.getApi(OtherModuleApi::class.java)
25+
2426
companion object {
2527
fun start(context: Context) {
2628
val starter = Intent(context, ApiActivity::class.java)
@@ -48,7 +50,6 @@ class ApiActivity : CommonTitleActivity() {
4850
override fun doBusiness() {}
4951

5052
override fun onDebouncingClick(view: View) {
51-
val api = ApiUtils.getApi(OtherModuleApi::class.java)
5253
when (view.id) {
5354
R.id.apiInvokeWithParams -> {
5455
api.invokeWithParams(OtherModuleApi.ApiBean("params"))
@@ -58,8 +59,4 @@ class ApiActivity : CommonTitleActivity() {
5859
}
5960
}
6061
}
61-
62-
override fun onDestroy() {
63-
super.onDestroy()
64-
}
6562
}

feature/utilcode/pkg/src/main/java/com/blankj/utilcode/pkg/feature/api/other/export/OtherModuleApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* author: Blankj
88
* blog : http://blankj.com
99
* time : 2019/07/10
10-
* desc :
10+
* desc : demo about ApiUtils
1111
* </pre>
1212
*/
1313
public abstract class OtherModuleApi extends ApiUtils.BaseApi {

feature/utilcode/pkg/src/main/java/com/blankj/utilcode/pkg/feature/api/other/pkg/OtherPkgApiImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* author: Blankj
1010
* blog : http://blankj.com
1111
* time : 2019/07/10
12-
* desc :
12+
* desc : demo about ApiUtils
1313
* </pre>
1414
*/
1515
@ApiUtils.Api

0 commit comments

Comments
 (0)