提交 8761e096 编写于 作者: B Blankj

see 07/16 log

上级 5b5d45c8
* `19/07/15` [upd] Bus plugin for use BusUtils. Publish bus plugin v2.0.
* `19/07/15` [add] Api plugin for use ApiUtils. Publish api plugin v1.0.
* `19/07/15` [add] Publish v1.25.0.
* `19/07/14` [upd] Bus plugin for use BusUtils. Publish bus plugin v2.0.
* `19/07/13` [add] Api plugin for use ApiUtils. Publish api plugin v1.0.
* `19/07/09` [upd] The frame of project.
* `19/07/06` [upd] BusUtils which behave same as EventBus.
* `19/07/03` [add] ApiUtils which decoupling modules.
* `19/06/30` [add] LanguageUtils support activity's class name. Publish v1.24.7.
* `19/06/30` [add] LanguageUtils support activity's class name. Publish v1.25.0.
* `19/06/29` [add] ClickUtils#OnMultiClickListener, and remove dangerous function. Publish v1.24.6.
* `19/06/28` [add] LanguageUtils. Publish v1.24.5.
* `19/06/20` [fix] BusUtils' permission. Publish v1.24.4.
......
......@@ -41,7 +41,7 @@
[logo]: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.24.7-brightgreen.svg
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.25.0-brightgreen.svg
[auc]: https://github.com/Blankj/AndroidUtilCode
[apiSvg]: https://img.shields.io/badge/API-14+-brightgreen.svg
......
......@@ -41,7 +41,7 @@ If this project helps you a lot and you want to support the project's developmen
[logo]: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.24.7-brightgreen.svg
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.25.0-brightgreen.svg
[auc]: https://github.com/Blankj/AndroidUtilCode
[apiSvg]: https://img.shields.io/badge/API-14+-brightgreen.svg
......
......@@ -17,6 +17,7 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
consumerProguardFiles 'proguard-rules.pro'
}
}
......
......@@ -99,7 +99,10 @@ class Config {
glide : new DepConfig("com.github.bumptech.glide:glide:4.7.1"),
retrofit : new DepConfig("com.squareup.retrofit2:retrofit:2.4.0"),
commons_io : new DepConfig("commons-io:commons-io:2.6"),
eventbus : new DepConfig("org.greenrobot:eventbus:3.1.1"),
eventbus : [
lib : new DepConfig("org.greenrobot:eventbus:3.1.1"),
processor: new DepConfig("org.greenrobot:eventbus-annotation-processor:3.0.1")
],
test : [
junit : new DepConfig("junit:junit:4.12"),
......
apply plugin: 'kotlin-kapt'
dependencies {
kapt 'org.greenrobot:eventbus-annotation-processor:3.0.1'
kapt Config.depConfig.eventbus.processor.dep
}
\ No newline at end of file
......@@ -3,6 +3,7 @@ package com.blankj.utilcode.pkg.feature.bus
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.annotation.Keep
import android.view.View
import com.blankj.lib.common.CommonTitleActivity
import com.blankj.utilcode.pkg.R
......@@ -112,6 +113,7 @@ class BusActivity : CommonTitleActivity() {
BusUtils.unregister(this)
}
@Keep
interface Callback {
fun call(): String
}
......
......@@ -269,6 +269,7 @@ class BusCompareActivity : CommonTaskActivity<Unit>() {
private fun setBtnEnabled(enable: Boolean) {
busCompareRegister10000TimesBtn.isEnabled = enable
busComparePostTo1Subscriber1000000TimesBtn.isEnabled = enable
busComparePostTo100Subscribers100000TimesBtn.isEnabled = enable
busCompareUnregister10000TimesBtn.isEnabled = enable
}
......
......@@ -10,6 +10,6 @@ dependencies {
api Config.depConfig.kotlin.dep
api Config.depConfig.free_proguard.dep
api Config.depConfig.swipe_panel.dep
api Config.depConfig.eventbus.dep
api Config.depConfig.eventbus.lib.dep
compileOnly Config.depConfig.leakcanary.android_no_op.dep
}
\ No newline at end of file
......@@ -20,5 +20,5 @@ dependencies {
testImplementation Config.depConfig.test.junit.dep
testImplementation Config.depConfig.test.robolectric.dep
testImplementation Config.depConfig.support.appcompat_v7.dep
testImplementation Config.depConfig.eventbus.dep
testImplementation Config.depConfig.eventbus.lib.dep
}
\ No newline at end of file
......@@ -15,4 +15,10 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-dontwarn com.blankj.utilcode.**
\ No newline at end of file
-dontwarn com.blankj.utilcode.**
-keepclassmembers class * {
@com.blankj.utilcode.util.BusUtils$Bus <methods>;
}
-keepattributes *Annotation*
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册