Skip to content

Commit bfec1cb

Browse files
authored
Remove unused code (#4357)
1 parent bda633d commit bfec1cb

File tree

6 files changed

+0
-32
lines changed

6 files changed

+0
-32
lines changed

.gitmodules

Whitespace-only changes.

.lgtm.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

agent/agent-tooling/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ dependencies {
8383
testImplementation("org.assertj:assertj-core")
8484
testImplementation("org.awaitility:awaitility")
8585
testImplementation("org.mockito:mockito-core")
86-
testImplementation("io.github.hakky54:logcaptor")
8786

8887
testCompileOnly("com.google.code.findbugs:jsr305")
8988
}

build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
id("idea")
33

4-
id("com.github.ben-manes.versions")
54
id("ai.spotless-conventions")
65
}
76

dependencyManagement/build.gradle.kts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
2-
31
plugins {
42
`java-platform`
5-
6-
id("com.github.ben-manes.versions")
73
}
84

95
data class DependencySet(val group: String, val version: String, val modules: List<String>)
@@ -64,14 +60,12 @@ val CORE_DEPENDENCIES = listOf(
6460
val DEPENDENCIES = listOf(
6561
"ch.qos.logback:logback-classic:1.3.15", // logback 1.4+ requires Java 11+
6662
"ch.qos.logback.contrib:logback-json-classic:0.1.5",
67-
"com.uber.nullaway:nullaway:0.12.7",
6863
"commons-codec:commons-codec:1.18.0",
6964
"org.apache.commons:commons-text:1.13.1",
7065
"com.google.code.gson:gson:2.13.1",
7166
"com.azure:azure-core-test:1.26.2", // this is not included in azure-sdk-bom
7267
"org.assertj:assertj-core:3.27.3",
7368
"org.awaitility:awaitility:4.3.0",
74-
"io.github.hakky54:logcaptor:2.11.0",
7569
"io.opentelemetry.contrib:opentelemetry-jfr-connection:${otelContribVersion}-alpha",
7670
"io.opentelemetry.contrib:opentelemetry-runtime-attach-core:${otelContribVersion}-alpha",
7771
"com.google.code.findbugs:jsr305:3.0.2",
@@ -103,22 +97,3 @@ dependencies {
10397
}
10498
}
10599
}
106-
107-
fun isNonStable(version: String): Boolean {
108-
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.uppercase().contains(it) }
109-
val regex = "^[0-9,.v-]+(-r)?$".toRegex()
110-
val isGuava = version.endsWith("-jre")
111-
val isStable = stableKeyword || regex.matches(version) || isGuava
112-
return isStable.not()
113-
}
114-
115-
tasks {
116-
named<DependencyUpdatesTask>("dependencyUpdates") {
117-
revision = "release"
118-
checkConstraints = true
119-
120-
rejectVersionIf {
121-
isNonStable(candidate.version)
122-
}
123-
}
124-
}

settings.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import org.apache.tools.ant.taskdefs.condition.Os
22

33
pluginManagement {
44
plugins {
5-
id("com.github.ben-manes.versions") version "0.52.0"
65
id("com.github.jk1.dependency-license-report") version "2.9"
76
id("me.champeau.jmh") version "0.7.3"
87
id("com.gradle.plugin-publish") version "1.3.1"

0 commit comments

Comments
 (0)