File tree 3 files changed +8
-6
lines changed
src/main/kotlin/quanti/com/kotlinlog
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ android {
15
15
defaultConfig {
16
16
minSdkVersion 16
17
17
targetSdkVersion 27
18
- versionCode 2
19
- versionName " 2.0 "
20
-
18
+ versionCode 3
19
+ versionName " 2.2.2 "
20
+ consumerProguardFile( ' proguard-rules.pro ' )
21
21
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
22
22
}
23
23
buildTypes {
Original file line number Diff line number Diff line change 31
31
# Most of volatile fields are updated with AFU and should not be mangled
32
32
-keepclassmembernames class kotlinx.** {
33
33
volatile <fields>;
34
- }
34
+ }
35
+
36
+ -keep class quanti.com.kotlinlog.Log
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package quanti.com.kotlinlog
3
3
import quanti.com.kotlinlog.base.ILogger
4
4
import quanti.com.kotlinlog.file.FileLogger
5
5
import quanti.com.kotlinlog.utils.getClassNameWithoutPackage
6
- import java.io.File
6
+ import java.lang.IllegalStateException
7
7
8
8
/* **
9
9
* PRIVATE
@@ -78,5 +78,5 @@ private fun getMethodStackTraceElement(): StackTraceElement {
78
78
}
79
79
}
80
80
81
- return null !!
81
+ throw IllegalStateException ( " class log.Log is missing " )
82
82
}
You can’t perform that action at this time.
0 commit comments