Skip to content

Commit

Permalink
Merge pull request #10 in LIBS/ihmc-build from bugfix/classifiers to …
Browse files Browse the repository at this point in the history
…develop

* commit '2f6627245fe2ffc308cda41066672fc682d9b4eb':
  ⬆️ 0.28.9
  Fix classifiers
  • Loading branch information
ds58 committed Mar 28, 2023
2 parents 0dd12bc + 2f66272 commit f7971ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "us.ihmc"
version = "0.28.8"
version = "0.28.9"

repositories {
maven { url = uri("https://plugins.gradle.org/m2/") } // needed for included plugins
Expand Down
15 changes: 4 additions & 11 deletions src/main/kotlin/us/ihmc/build/IHMCBuildExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1147,18 +1147,11 @@ open class IHMCBuildExtension(val project: Project)

val classifiers = hashSetOf<String>()
resolvedArtifacts.forEach { resolvedArtifact ->
if (resolvedArtifact.id.componentIdentifier.displayName.equals(firstLevelModuleDependency.name))
val classifier = resolvedArtifact.classifier
if (classifier != null && classifier.isNotEmpty())
{
val classifier = resolvedArtifact.classifier
if (classifier != null && classifier.isNotEmpty())
{
LogTools.info("Classifier: $classifier")
classifiers.add(classifier)
}
else
{
classifiers.add("")
}
LogTools.info("Classifier: $classifier")
classifiers.add(classifier)
}
}

Expand Down

0 comments on commit f7971ec

Please sign in to comment.