-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RUM-5553: Create Benchmark module to collect performance metrics
- Loading branch information
1 parent
99068f2
commit 9ce8f69
Showing
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. | ||
* This product includes software developed at Datadog (https://www.datadoghq.com/). | ||
* Copyright 2016-Present Datadog, Inc. | ||
*/ | ||
|
||
import com.datadog.gradle.config.AndroidConfig | ||
import com.datadog.gradle.config.dependencyUpdateConfig | ||
import com.datadog.gradle.config.java17 | ||
import com.datadog.gradle.config.junitConfig | ||
import com.datadog.gradle.config.kotlinConfig | ||
|
||
plugins { | ||
id("com.android.library") | ||
kotlin("android") | ||
id("com.github.ben-manes.versions") | ||
} | ||
|
||
android { | ||
defaultConfig { | ||
compileSdk = AndroidConfig.TARGET_SDK | ||
minSdk = AndroidConfig.MIN_SDK | ||
} | ||
namespace = "com.datadog.tools.benchmark" | ||
compileOptions { | ||
java17() | ||
} | ||
} | ||
|
||
dependencies { | ||
|
||
implementation(libs.kotlin) | ||
implementation(libs.okHttp) | ||
api(libs.openTelemetrySdk) | ||
api(libs.openTelemetryApi) | ||
implementation(libs.gson) | ||
compileOnly(libs.detektApi) | ||
testImplementation(project(":tools:unit")) { | ||
attributes { | ||
attribute( | ||
com.android.build.api.attributes.ProductFlavorAttr.of("platform"), | ||
objects.named("jvm") | ||
) | ||
} | ||
} | ||
|
||
testImplementation(libs.bundles.jUnit5) | ||
testImplementation(libs.bundles.testTools) | ||
testImplementation(libs.detektTest) | ||
testImplementation(libs.robolectric) | ||
} | ||
|
||
kotlinConfig() | ||
junitConfig() | ||
dependencyUpdateConfig() |