Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions dd-java-agent/ddprof-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,22 @@ plugins {

apply from: "$rootDir/gradle/java.gradle"

configurations {
def nightly = register('nightlyTestImplementation') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable here is not necessary.


Note however, that if this build file was written with the Kotlin dsl then the variable could have been reused.

visible = false
canBeConsumed = false
canBeResolved = true
extendsFrom(testImplementation)
}
}

dependencies {
// This module provides the ddprof library as an api dependency
// so that other modules can easily depend on it.
implementation project.hasProperty('ddprof.jar') ? files(project.findProperty('ddprof.jar')) : libs.ddprof
api project(':internal-api')
api project(':dd-trace-api')
nightlyTestImplementation group: 'com.datadoghq', name: 'ddprof', version: 'latest.integration'
}

tasks.named("shadowJar", ShadowJar) {
Expand Down