# Gradle 5.0 transitive dependency scope

**URL:** <https://discuss.gradle.org/t/gradle-5-0-transitive-dependency-scope/29925>\
**Category:** Help/Discuss\
**Created:** [December 19, 2018, 1:04pm UTC](https://discuss.gradle.org/t/gradle-5-0-transitive-dependency-scope/29925 "2018-12-19T13:04:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![borleaandrei](https://avatars.discourse-cdn.com/v4/letter/b/e79b87/32.png) [@borleaandrei](https://discuss.gradle.org/u/borleaandrei)\
**Post date:** [December 19, 2018, 1:04pm UTC](https://discuss.gradle.org/t/gradle-5-0-transitive-dependency-scope/29925/1 "2018-12-19T13:04:52Z")

</div>

Hi,  
I’m trying to migrate a project to Java11 and Gradle 5.0.  
I have a problem with transitive dependency scopes for the libraries that I am using. When using gradle version \< 5 the scopes appear as ‘compile’ in IDEA (intellij 2018.2.7) , but when I change to 5.0 all the transitive dependencies appear as ‘runtime’. I’m not sure if it’s a IDEA or Gradle issue.  
Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![Chris\_Dore](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/chris_dore/32/7592_2.png) [@Chris\_Dore](https://discuss.gradle.org/u/Chris_Dore)\
**Post date:** [December 23, 2018, 10:25pm UTC](https://discuss.gradle.org/t/gradle-5-0-transitive-dependency-scope/29925/2 "2018-12-23T22:25:34Z")

</div>

Gradle 5’s Maven support is not backwards compatible, in a manner of speaking. It does not handle Maven scopes in the same way as previous versions.

[https://docs.gradle.org/5.0/userguide/upgrading\_version\_4.html#rel5.0:pom\_compile\_runtime\_separation](https://docs.gradle.org/5.0/userguide/upgrading_version_4.html#rel5.0:pom_compile_runtime_separation)
