# Gradle internal project dependency with classifier syntax help

**URL:** <https://discuss.gradle.org/t/gradle-internal-project-dependency-with-classifier-syntax-help/38532>\
**Category:** Help/Discuss\
**Created:** [December 15, 2020, 3:50pm UTC](https://discuss.gradle.org/t/gradle-internal-project-dependency-with-classifier-syntax-help/38532 "2020-12-15T15:50:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![igudkov-da](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@igudkov-da](https://discuss.gradle.org/u/igudkov-da)\
**Post date:** [December 15, 2020, 3:50pm UTC](https://discuss.gradle.org/t/gradle-internal-project-dependency-with-classifier-syntax-help/38532/1 "2020-12-15T15:50:14Z")

</div>

Hi there. I need some help with syntax. I have multi-project build  
-root

- service
- common
- integration-tests
- others

Service module has plugins ‘java’ and ‘org.springframework.boot’ also i`ve define this properties for task

```gradle
jar {
    enabled = true
    archiveClassifier = 'classes'
} 

```

as a result in ‘libs’ folder I have 2 jars  
service-1.0-SNAPSHOT - fat jar with all dependencies  
service-1.0-SNAPSHOT-classes - built by jar task

I want to add ‘service-1.0-SNAPSHOT-classes’ to my ‘integration-tests’ module

I tried this

```gradle
    implementation project(':service:+:classes')

```

```gradle
dependencies {
    // ... other dependencies
    compile files('libs/<your jar's name here>')
}

```

and this

`compile fileTree(dir: ‘lib’, include: ‘*.jar’)`
