From 999f840b509a9b1768833aa8eeef45fedb8626ba Mon Sep 17 00:00:00 2001 From: Cedric Champeau Date: Mon, 9 Oct 2023 14:42:21 +0200 Subject: [PATCH] Fix japicmp --- ...io.micronaut.build.internal.test-resources-module.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildSrc/src/main/groovy/io.micronaut.build.internal.test-resources-module.gradle b/buildSrc/src/main/groovy/io.micronaut.build.internal.test-resources-module.gradle index a0c22b298..f755dbb33 100644 --- a/buildSrc/src/main/groovy/io.micronaut.build.internal.test-resources-module.gradle +++ b/buildSrc/src/main/groovy/io.micronaut.build.internal.test-resources-module.gradle @@ -2,3 +2,9 @@ plugins { id 'io.micronaut.build.internal.test-resources-base' id "io.micronaut.build.internal.module" } + +micronautBuild { + binaryCompatibility { + baselineVersion = ((version-'-SNAPSHOT').split('[.]') as List).withIndex().collect { v, i -> (i == 2 ? Integer.parseInt(v) -1 : v) as String }.join('.') + } +}