Skip to content

Commit 84504f6

Browse files
committed
chore(gradle): Convert :remote-config project to kotlin dsl
1 parent 11f1d37 commit 84504f6

File tree

4 files changed

+50
-36
lines changed

4 files changed

+50
-36
lines changed

remote-config/remote-config-api/build.gradle

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apply(from = "$rootDir/gradle/java.gradle")
2+
3+
val excludedClassesBranchCoverage by extra(
4+
listOf(
5+
"datadog.remoteconfig.ConfigurationChangesListener.PollingHinterNoop"
6+
)
7+
)

remote-config/remote-config-core/build.gradle

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
plugins {
2+
`java-library`
3+
}
4+
5+
apply(from = "$rootDir/gradle/java.gradle")
6+
7+
val minimumBranchCoverage by extra(0.6)
8+
val minimumInstructionCoverage by extra(0.8)
9+
val excludedClassesCoverage by extra(
10+
listOf(
11+
// not used yet
12+
"datadog.remoteconfig.tuf.RemoteConfigRequest.ClientInfo.AgentInfo",
13+
// only half the adapter interface used
14+
"datadog.remoteconfig.tuf.InstantJsonAdapter",
15+
// idem
16+
"datadog.remoteconfig.tuf.RawJsonAdapter",
17+
"datadog.remoteconfig.ExceptionHelper",
18+
)
19+
)
20+
val excludedClassesBranchCoverage by extra(
21+
listOf(
22+
"datadog.remoteconfig.tuf.FeaturesConfig",
23+
"datadog.remoteconfig.PollerRequestFactory",
24+
)
25+
)
26+
val excludedClassesInstructionCoverage by extra(
27+
listOf(
28+
"datadog.remoteconfig.ConfigurationChangesListener.PollingHinterNoop",
29+
)
30+
)
31+
32+
dependencies {
33+
api(project(":remote-config:remote-config-api"))
34+
35+
implementation(libs.slf4j)
36+
implementation(libs.okhttp)
37+
implementation(libs.moshi)
38+
implementation(libs.bundles.cafe.crypto)
39+
40+
implementation(project(":internal-api"))
41+
42+
testImplementation(project(":utils:test-utils"))
43+
}

0 commit comments

Comments
 (0)