We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a481d0b + 2184188 commit e763318Copy full SHA for e763318
dd-java-agent/build.gradle
@@ -162,12 +162,13 @@ shadowJar generalShadowJarConfig >> {
162
}
163
164
tasks.register('generateAgentJarIndex', JavaExec) {
165
+ def indexName = 'dd-java-agent.index'
166
def contentDir = "${sourceSets.main.output.resourcesDir}"
- def indexFile = "${contentDir}/dd-java-agent.index"
167
+ def indexFile = "${contentDir}/${indexName}"
168
169
it.group = 'Build'
170
it.description = "Generate dd-java-agent.index"
- it.inputs.files(contentDir)
171
+ it.inputs.files(fileTree(contentDir).exclude(indexName))
172
it.outputs.files(indexFile)
173
it.mainClass = 'datadog.trace.bootstrap.AgentJarIndex$IndexGenerator'
174
it.classpath = project.configurations.shadowInclude
0 commit comments