Skip to content

Commit

Permalink
Fixed dependencys getting added to unbuildable binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse committed May 22, 2018
1 parent 24d6e32 commit 4e305a5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ class DependencyConfigRules extends RuleSource {
def nativeBinaries = binaries.findAll { BuildConfigRulesBase.isNativeProject((BinarySpec) it) }
nativeBinaries.each { oBinary ->
def binary = (NativeBinarySpec) oBinary
if (!binary.buildable) {
return
}
def component = binary.component

def headerConfigurationName = "${config.groupId}${config.artifactId}${config.headerClassifier}".toString()
Expand Down

0 comments on commit 4e305a5

Please sign in to comment.