Skip to content

Commit

Permalink
Fix publishing of agent-for-testing (#3935)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Aug 24, 2021
1 parent 052d00d commit ce7eb96
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions testing/agent-for-testing/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ project(":instrumentation").subprojects {
}

tasks {
jar {
enabled = false
}

val relocateJavaagentLibs by registering(ShadowJar::class) {
configurations = listOf(javaagentLibs)

Expand Down Expand Up @@ -116,15 +112,6 @@ tasks {
jvmArgs("-javaagent:${shadowJar.get().archiveFile.get().asFile.absolutePath}")
}
}

// Because shadow does not use default configurations
publishing {
publications {
named<MavenPublication>("maven") {
project.shadow.component(this)
}
}
}
}

fun CopySpec.isolateClasses(jars: Iterable<File>) {
Expand Down

0 comments on commit ce7eb96

Please sign in to comment.