Skip to content

Commit 97e5b8b

Browse files
committed
chore: Inline yaml component
Migrate functionality to config-utils, its only usage.
1 parent a69554e commit 97e5b8b

File tree

7 files changed

+1
-86
lines changed

7 files changed

+1
-86
lines changed

components/yaml/build.gradle.kts

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

components/yaml/gradle.lockfile

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

gradle/dependencies.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ final class CachedData {
1919
exclude(project(':components:context'))
2020
exclude(project(':components:environment'))
2121
exclude(project(':components:json'))
22-
exclude(project(':components:yaml'))
2322
exclude(project(':products:feature-flagging:bootstrap'))
2423
exclude(project(':remote-config:remote-config-api'))
2524
exclude(project(':remote-config:remote-config-core'))

internal-api/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ dependencies {
268268
api(project(":components:context"))
269269
api(project(":components:environment"))
270270
api(project(":components:json"))
271-
api(project(":components:yaml"))
272271
api(project(":utils:config-utils"))
273272
api(project(":utils:time-utils"))
274273

settings.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ include(
106106
":components:environment",
107107
":components:json",
108108
":components:native-loader",
109-
":components:yaml",
110109
":telemetry",
111110
":remote-config:remote-config-api",
112111
":remote-config:remote-config-core",

utils/config-utils/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ val excludedClassesInstructionCoverage by extra(
5555

5656
dependencies {
5757
implementation(project(":components:environment"))
58-
implementation(project(":components:yaml"))
5958
implementation(project(":dd-trace-api"))
6059
implementation(project(":utils:filesystem-utils"))
6160
implementation(libs.slf4j)
61+
implementation("org.snakeyaml", "snakeyaml-engine", "2.9")
6262

6363
testImplementation(project(":utils:test-utils"))
6464
testImplementation("org.snakeyaml:snakeyaml-engine:2.9")

components/yaml/src/main/java/datadog/yaml/YamlParser.java renamed to utils/config-utils/src/main/java/datadog/yaml/YamlParser.java

File renamed without changes.

0 commit comments

Comments
 (0)