Skip to content

Commit d09f1e0

Browse files
Copilottrask
andcommitted
Revert unnecessary formatting changes to minimize diff
Co-authored-by: trask <[email protected]>
1 parent 7b1173b commit d09f1e0

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

conventions/src/main/kotlin/io.opentelemetry.instrumentation.base.gradle.kts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ extra["testLatestDeps"] = testLatestDeps
3434
abstract class TestLatestDepsRule : ComponentMetadataRule {
3535
override fun execute(context: ComponentMetadataContext) {
3636
val version = context.details.id.version
37-
if (version.contains("-alpha", true) ||
38-
version.contains("-beta", true) ||
39-
version.contains("-rc", true) ||
40-
version.contains(".rc", true) ||
41-
version.contains("-m", true) || // e.g. spring milestones are published to grails repo
42-
version.contains(".m", true) || // e.g. lettuce
43-
version.contains(".alpha", true) || // e.g. netty
44-
version.contains(".beta", true) || // e.g. hibernate
45-
version.contains(".cr", true) || // e.g. hibernate
46-
version.endsWith("-nf-execution") || // graphql
47-
GIT_SHA_PATTERN.matches(version) || // graphql
48-
DATETIME_PATTERN.matches(version) // graphql
37+
if (version.contains("-alpha", true)
38+
|| version.contains("-beta", true)
39+
|| version.contains("-rc", true)
40+
|| version.contains(".rc", true)
41+
|| version.contains("-m", true) // e.g. spring milestones are published to grails repo
42+
|| version.contains(".m", true) // e.g. lettuce
43+
|| version.contains(".alpha", true) // e.g. netty
44+
|| version.contains(".beta", true) // e.g. hibernate
45+
|| version.contains(".cr", true) // e.g. hibernate
46+
|| version.endsWith("-nf-execution") // graphql
47+
|| GIT_SHA_PATTERN.matches(version) // graphql
48+
|| DATETIME_PATTERN.matches(version) // graphql
4949
) {
5050
context.details.status = "milestone"
5151
}

conventions/src/main/kotlin/otel.nullaway-conventions.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ tasks {
3030
}
3131
}
3232
}
33+

0 commit comments

Comments
 (0)