Skip to content

Commit

Permalink
#44 fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex009 committed May 4, 2020
1 parent 61007fb commit d037e85
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ buildscript {
maven { url = uri("https://dl.bintray.com/icerockdev/plugins") }
}
dependencies {
val libraryPublish: Boolean = properties.containsKey("libraryPublish")

with(Deps.Plugins) {
listOf(
listOfNotNull(
androidApplication,
androidLibrary,
kotlinMultiplatform,
kotlinKapt,
kotlinAndroid,
mokoResources
if(!libraryPublish) mokoResources else null
)
}.let { plugins(it) }
}
Expand Down

0 comments on commit d037e85

Please sign in to comment.