Skip to content

Commit

Permalink
Pass the -module-name Kotlin Compiler flag (#146)
Browse files Browse the repository at this point in the history
Fixes #134
  • Loading branch information
cortinico authored Dec 30, 2019
1 parent 13a11c7 commit a45ffec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library-no-op/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.compileSdkVersion

compileOptions {
kotlinOptions.freeCompilerArgs += ['-module-name', "com.github.ChuckerTeam.Chucker.library-no-op"]
}

defaultConfig {
minSdkVersion rootProject.minSdkVersion
}
Expand Down
4 changes: 4 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ apply plugin: 'org.jetbrains.dokka'
android {
compileSdkVersion rootProject.compileSdkVersion

compileOptions {
kotlinOptions.freeCompilerArgs += ['-module-name', "com.github.ChuckerTeam.Chucker.library-no-op"]
}

defaultConfig {
minSdkVersion rootProject.minSdkVersion
versionName VERSION_NAME
Expand Down

0 comments on commit a45ffec

Please sign in to comment.