File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,18 @@ projectPomName = project.msftAppInsights + " Java SDK Web Module"
7575projectPomDescription = " This is the web module of " + project. msftAppInsightsJavaSdk
7676
7777whenPomConfigured = { p ->
78- p. dependencies = []
78+ p. dependencies = project. configurations. compileOnly. allDependencies
79+ .findAll { it. group != ' com.microsoft.azure' }
80+ .collect {
81+ def d = p. dependencies[0 ]. class. newInstance() // related to https://issues.gradle.org/browse/GRADLE-1497
82+ d. artifactId = it. name
83+ d. groupId = it. group
84+ d. version = it. version
85+ d. scope = ' provided'
86+ d. type = null
87+ if (it. name == ' xwork' || it. name == ' spring-webmvc' ) d. optional = ' true'
88+ d
89+ }
7990}
8091
8192// endregion Publishing properties
You can’t perform that action at this time.
0 commit comments