Skip to content

Commit

Permalink
[gradle] Support classifier and extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo authored Jul 1, 2019
1 parent ad3ee49 commit c22617f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/manager/gradle/build-gradle.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ function updatePropertyFileGlobalVariables(
return null;
}

// https://github.com/patrikerdes/gradle-use-latest-versions-plugin/blob/8cf9c3917b8b04ba41038923cab270d2adda3aa6/src/main/groovy/se/patrikerdes/DependencyUpdate.groovy#L27-L29
function moduleStringVersionFormatMatch(dependency) {
return new RegExp(
`(["']${dependency.group}:${dependency.name}:)[^$].*?(["'])`
`(["']${dependency.group}:${dependency.name}:)[^$].*?((:.*?)?["'])`
);
}

Expand Down

0 comments on commit c22617f

Please sign in to comment.