-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUM-5553: Create Benchmark module to collect performance metrics #2141
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
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) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it needed? |
||
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) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and this is not needed as well, I guess. |
||
testImplementation(libs.robolectric) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably also not needed? |
||
} | ||
|
||
kotlinConfig() | ||
junitConfig() | ||
dependencyUpdateConfig() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this probably should be
implementation
, unless we want to re-export definitions in some module which will consume this one