We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96490c9 commit 9a8ce24Copy full SHA for 9a8ce24
build.gradle
@@ -52,10 +52,11 @@ android { // android specific configuration
52
}
53
54
buildTypes { // the build variants for the lib
55
- release {
56
- minifyEnabled true
+ getByName("release") {
+ minifyEnabled false
57
+ proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
58
- debug {
59
+ getByName("debug") {
60
minifyEnabled false
61
62
@@ -85,10 +86,8 @@ kotlin {
85
86
87
88
// use the android preset
- android("android") {
89
- // you can also publish both "release" and "debug"
90
- publishLibraryVariants("release")
91
- publishLibraryVariants("debug")
+ android {
+ publishLibraryVariants("release", "debug")
92
93
94
sourceSets {
0 commit comments