# 4.7 : Classloader issues : diff version of JAR used by gradle plugin AND project build

**URL:** <https://discuss.gradle.org/t/4-7-classloader-issues-diff-version-of-jar-used-by-gradle-plugin-and-project-build/27099>\
**Category:** Help/Discuss\
**Created:** [May 25, 2018, 2:17pm UTC](https://discuss.gradle.org/t/4-7-classloader-issues-diff-version-of-jar-used-by-gradle-plugin-and-project-build/27099 "2018-05-25T14:17:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanasaki](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@hanasaki](https://discuss.gradle.org/u/hanasaki)\
**Post date:** [May 25, 2018, 2:17pm UTC](https://discuss.gradle.org/t/4-7-classloader-issues-diff-version-of-jar-used-by-gradle-plugin-and-project-build/27099/1 "2018-05-25T14:17:43Z")

</div>

JAR1-common code  
JAR2- depends on JAR1-1.2.3 - gradle plugin (in buildscript section)  
JAR3 - depends on JAR1-1.6.0 (diff version than JAR2) - business project code AND uses the plugin from JAR2

for the build.gradle of JAR3  
It seems that during the build, the use of the plugin (on the ./gradlew commandline) results in the version it requires of JAR1 being loaded AND the same version used for the compile dependency despite specifying a diff version of JAR3. Also tried scope API and implementation with same results.
