[
https://issues.apache.org/jira/browse/BEAM-10961?focusedWorklogId=540648&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-540648
]
ASF GitHub Bot logged work on BEAM-10961:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Jan/21 00:21
Start Date: 24/Jan/21 00:21
Worklog Time Spent: 10m
Work Description: shehzaadn-vd commented on a change in pull request
#13791:
URL: https://github.com/apache/beam/pull/13791#discussion_r563216904
##########
File path: sdks/java/io/google-cloud-platform/build.gradle
##########
@@ -20,7 +20,7 @@ import groovy.json.JsonOutput
plugins { id 'org.apache.beam.module' }
applyJavaNature(
-
+ //enableStrictDependencies:true,
Review comment:
@ibzib to your question from the parent PR:
> I ran into this as well. I was able to avoid it temporarily by downgrading
from Gradle 6.8 to 6.7, however we will need to figure out a better solution.
The first step is to figure out where the :runners:core-java dependency is
coming from, since it isn't explicitly declared here.
running ` ../../../../gradlew -q dependencies` shows that :runners:java-core
comes from :sdks:java:extensions:google-cloud-platform-core
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 540648)
Time Spent: 85h 40m (was: 85.5h)
> Enable strict dependency analysis on all Java modules
> ------------------------------------------------------
>
> Key: BEAM-10961
> URL: https://issues.apache.org/jira/browse/BEAM-10961
> Project: Beam
> Issue Type: Improvement
> Components: java-fn-execution
> Reporter: Shehzaad Nakhoda
> Assignee: Shehzaad Nakhoda
> Priority: P2
> Time Spent: 85h 40m
> Remaining Estimate: 0h
>
> This is an IWYU analysis. If the module is using its transitive deps without
> depending on them, or if it has direct dependencies it doesn't use, the build
> fails. The work involves adding dependencies or adding exclusion rules
> (example:
> https://github.com/wfhartford/gradle-dependency-analyze#configurations). Even
> if they just add exclusions across the board, it will be a big win because it
> will prevent new violations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)