Skip to content

Commit 1e3cf0b

Browse files
fix(deps): update dependency me.champeau.gradle:japicmp-gradle-plugin to v0.4.4 (#6769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jack Berg <[email protected]>
1 parent fcae15e commit 1e3cf0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies {
6161
implementation("com.squareup.wire:wire-gradle-plugin")
6262
implementation("gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.18")
6363
implementation("gradle.plugin.io.morethan.jmhreport:gradle-jmh-report:0.9.6")
64-
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.3")
64+
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.4")
6565
implementation("me.champeau.jmh:jmh-gradle-plugin:0.7.2")
6666
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.1.0")
6767
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.1.0")

buildSrc/src/main/kotlin/otel.japicmp-conventions.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ val latestReleasedVersion: String by lazy {
2727

2828
class AllowNewAbstractMethodOnAutovalueClasses : AbstractRecordingSeenMembers() {
2929
override fun maybeAddViolation(member: JApiCompatibility): Violation? {
30-
val allowableAutovalueChanges = setOf(JApiCompatibilityChange.METHOD_ABSTRACT_ADDED_TO_CLASS, JApiCompatibilityChange.METHOD_ADDED_TO_PUBLIC_CLASS)
31-
if (member.compatibilityChanges.filter { !allowableAutovalueChanges.contains(it) }.isEmpty() &&
30+
val allowableAutovalueChanges = setOf(JApiCompatibilityChangeType.METHOD_ABSTRACT_ADDED_TO_CLASS, JApiCompatibilityChangeType.METHOD_ADDED_TO_PUBLIC_CLASS)
31+
if (member.compatibilityChanges.filter { !allowableAutovalueChanges.contains(it.type) }.isEmpty() &&
3232
member is JApiMethod && isAutoValueClass(member.getjApiClass()))
3333
{
3434
return Violation.accept(member, "Autovalue will automatically add implementation")

0 commit comments

Comments
 (0)