Skip to content

Commit

Permalink
Ignore when kotlin-stdlib has a null version (fixes #443)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Nov 8, 2020
1 parent 6c4a1e8 commit 055fbb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ apply plugin: 'nexus'
apply plugin: 'codenarc'

group = 'com.github.ben-manes'
version = '0.35.0'
version = '0.36.0'

sourceCompatibility = '1.8'

Expand Down
Binary file modified examples/html-report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ class Resolver {
// inherited stdlib dependencies from the super configurations. This is required for variant
// resolution, but the full set can break consumer capability matching.
Set<Dependency> inherited = configuration.allDependencies.findAll { dependency ->
(dependency instanceof ExternalDependency) && (dependency.group == 'org.jetbrains.kotlin')
(dependency instanceof ExternalDependency) &&
(dependency.group == 'org.jetbrains.kotlin') &&
(dependency.version != null)
}.minus(configuration.dependencies)

// Adds the Kotlin 1.2.x legacy metadata to assist in variant selection
Expand Down

0 comments on commit 055fbb7

Please sign in to comment.