Skip to content

Commit 1924fc0

Browse files
committed
remove dependencies from web/core poms
1 parent f7e307e commit 1924fc0

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

core/build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,7 @@ projectPomName = project.msftAppInsights + " Java SDK Core"
163163
projectPomDescription = "This is the core module of " + project.msftAppInsightsJavaSdk
164164

165165
whenPomConfigured = { p ->
166-
def agentArtifactId = project(":agent").jar.baseName
167-
def loggerArtifactId = project(":ApplicationInsightsInternalLogger").jar.baseName
168-
p.dependencies = p.dependencies.findAll { dep ->
169-
dep.scope == "test" || dep.artifactId != agentArtifactId && dep.artifactId != loggerArtifactId &&
170-
!(dep.groupId in ['org.apache.http', 'eu.infomas', 'org.apache.commons', 'commons-io',
171-
'com.google.code.gson', 'org.apache.httpcomponents',
172-
'io.grpc', 'com.google.protobuf'])
173-
}
166+
p.dependencies = []
174167
}
175168

176169
// endregion Publishing properties

web/build.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,7 @@ projectPomName = project.msftAppInsights + " Java SDK Web Module"
7575
projectPomDescription = "This is the web module of " + project.msftAppInsightsJavaSdk
7676

7777
whenPomConfigured = { p ->
78-
def agentArtifactId = project(":agent").jar.baseName
79-
def loggerArtifactId = project(":ApplicationInsightsInternalLogger").jar.baseName
80-
p.dependencies = p.dependencies.findAll { dep ->
81-
dep.scope == "test" || dep.artifactId != agentArtifactId && dep.artifactId != loggerArtifactId &&
82-
!(dep.groupId in ['org.apache.http', 'org.apache.commons', 'commons-io',
83-
'com.google.guava', 'com.google.code.gson', 'org.apache.httpcomponents'])
84-
}
78+
p.dependencies = []
8579
}
8680

8781
// endregion Publishing properties

0 commit comments

Comments
 (0)