Преглед изворни кода

Fix Gradle Kotlin module config that was preventing extension functions from resolving in consumers. Resolves #1607.

Aidan Follestad пре 6 година
родитељ
комит
93d4ac275e
5 измењених фајлова са 10 додато и 10 уклоњено
  1. 2 2
      color/build.gradle
  2. 2 2
      core/build.gradle
  3. 2 2
      dependencies.gradle
  4. 2 2
      files/build.gradle
  5. 2 2
      input/build.gradle

+ 2 - 2
color/build.gradle

@@ -24,8 +24,8 @@ android {
     ]
   }
 
-  packagingOptions {
-    exclude 'META-INF/color_release.kotlin_module'
+  compileOptions {
+    kotlinOptions.freeCompilerArgs += ['-module-name', "com.afollestad.material-dialogs:color"]
   }
 }
 

+ 2 - 2
core/build.gradle

@@ -24,8 +24,8 @@ android {
     ]
   }
 
-  packagingOptions {
-    exclude 'META-INF/core_release.kotlin_module'
+  compileOptions {
+    kotlinOptions.freeCompilerArgs += ['-module-name', "com.afollestad.material-dialogs:core"]
   }
 }
 

+ 2 - 2
dependencies.gradle

@@ -2,8 +2,8 @@ ext.versions = [
     minSdk            : 16,
     compileSdk        : 28,
     buildTools        : '28.0.2',
-    publishVersion    : '2.0.0-alpha10',
-    publishVersionCode: 209,
+    publishVersion    : '2.0.0-alpha11',
+    publishVersionCode: 210,
 
     gradlePlugin      : '3.1.4',
     spotlessPlugin    : '3.14.0',

+ 2 - 2
files/build.gradle

@@ -24,8 +24,8 @@ android {
     ]
   }
 
-  packagingOptions {
-    exclude 'META-INF/files_release.kotlin_module'
+  compileOptions {
+    kotlinOptions.freeCompilerArgs += ['-module-name', "com.afollestad.material-dialogs:files"]
   }
 }
 

+ 2 - 2
input/build.gradle

@@ -24,8 +24,8 @@ android {
     ]
   }
 
-  packagingOptions {
-    exclude 'META-INF/input_release.kotlin_module'
+  compileOptions {
+    kotlinOptions.freeCompilerArgs += ['-module-name', "com.afollestad.material-dialogs:input"]
   }
 }