File tree Expand file tree Collapse file tree 6 files changed +12
-0
lines changed
src/main/java/beanman90/appx/lazylogger/demo Expand file tree Collapse file tree 6 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,14 @@ android {
15
15
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
16
16
}
17
17
}
18
+ configurations. all {
19
+ resolutionStrategy. cacheChangingModulesFor 0 , ' seconds'
20
+ }
18
21
}
19
22
20
23
dependencies {
21
24
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
22
25
implementation ' com.android.support:appcompat-v7:28.0.0'
23
26
implementation ' com.android.support.constraint:constraint-layout:1.1.3'
27
+ implementation ' com.github.beanman90.Appx-LazyLogger:lazzylogger:1.0.0-rc'
24
28
}
Original file line number Diff line number Diff line change 19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
21
#-renamesourcefileattribute SourceFile
22
+ -keep class beanman90.appx.lazylogger.** { *; }
Original file line number Diff line number Diff line change 2
2
3
3
import android .support .v7 .app .AppCompatActivity ;
4
4
import android .os .Bundle ;
5
+ import beanman90 .appx .lazylogger .LazyLogger ;
5
6
6
7
public class MainActivity extends AppCompatActivity {
7
8
8
9
@ Override
9
10
protected void onCreate (Bundle savedInstanceState ) {
10
11
super .onCreate (savedInstanceState );
11
12
setContentView (R .layout .activity_main );
13
+ LazyLogger .plant (new LazyLogger .DebugTree ());
12
14
}
13
15
}
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ android {
25
25
}
26
26
}
27
27
28
+ afterEvaluate {
29
+ generateReleaseBuildConfig. enabled = false
30
+ }
28
31
}
29
32
30
33
dependencies {
Original file line number Diff line number Diff line change 19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
21
#-renamesourcefileattribute SourceFile
22
+ -keep class beanman90.appx.lazylogger.** { *; }
Original file line number Diff line number Diff line change 19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
21
#-renamesourcefileattribute SourceFile
22
+ -keep class beanman90.appx.lazylogger.** { *; }
You can’t perform that action at this time.
0 commit comments