Skip to content

Commit

Permalink
Fix CacheLayout version for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ljacomet committed Apr 7, 2020
1 parent 2becfdf commit 0bdc853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -57,7 +57,7 @@ public enum CacheLayout {
.changedTo(79, "6.0-rc-1")
.changedTo(82, "6.0-rc-2")
.changedTo(95, "6.1-rc-1")
.changedTo(96_12345, "6.4-rc-1")
.changedTo(96, "6.4-rc-1")
),

RESOURCES(ROOT, "resources", introducedIn("1.9-rc-1")),
Expand Down
Expand Up @@ -62,7 +62,7 @@ class CacheLayoutTest extends Specification {
cacheLayout.versionMapping.getVersionUsedBy(GradleVersion.version("1.9-rc-2")).get() == CacheVersion.of(2, 1)

where:
expectedVersion = 96_12345
expectedVersion = 96
}

def "use transforms layout"() {
Expand Down

0 comments on commit 0bdc853

Please sign in to comment.