# Org.opensearch.gradle:build-tools:1.1.0 was found

**URL:** <https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593>\
**Category:** OpenDistro\
**Created:** [November 15, 2021, 5:59am UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593 "2021-11-15T05:59:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![feng](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@feng](https://forum.opensearch.org/u/feng)\
**Post date:** [November 15, 2021, 5:59am UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593/1 "2021-11-15T05:59:03Z")

</div>

i want develop my ingest plugin and install it to opensearch. i clone the template and run gradle, it says

> Could not resolve org.opensearch.gradle:build-tools:1.1.0.  
> Required by:  
> project :  
> No matching variant of org.opensearch.gradle:build-tools:1.1.0 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally but:  
> - Variant ‘apiElements’ capability org.opensearch.gradle:build-tools:1.1.0 declares a library, packaged as a jar, and its dependencies declared externally:  
> - Incompatible because this component declares an API of a component compatible with Java 10 and the consumer needed a runtime of a component compatible with Java 8  
> - Variant ‘runtimeElements’ capability org.opensearch.gradle:build-tools:1.1.0 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:  
> - Incompatible because this component declares a component compatible with Java 10 and the consumer needed a component compatible with Java 8  
> - Variant ‘testFixturesApiElements’ capability org.opensearch.gradle:build-tools-test-fixtures:1.1.0 declares a library, packaged as a jar, and its dependencies declared externally:  
> - Incompatible because this component declares an API of a component compatible with Java 10 and the consumer needed a runtime of a component compatible with Java 8  
> - Variant ‘testFixturesRuntimeElements’ capability org.opensearch.gradle:build-tools-test-fixtures:1.1.0 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:

---

<div class="post-metadata">

**Author:** ![vemsarat](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/vemsarat/32/1376_2.png) [@vemsarat](https://forum.opensearch.org/u/vemsarat)\
**Post date:** [November 15, 2021, 2:44pm UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593/2 "2021-11-15T14:44:42Z")

</div>

These are artifacts exported by OpenSearch. If you’d like to build on top of released version of OpenSearch you could use releases maven repository in your `build.gradle` script: [Index of /repositories/releases/org/opensearch](https://aws.oss.sonatype.org/content/repositories/releases/org/opensearch/)

Here is an example: [https://github.com/opensearch-project/job-scheduler/blob/main/build.gradle#L35](https://github.com/opensearch-project/job-scheduler/blob/main/build.gradle#L35)

You could also look into our BUILDING.md documentation: [https://github.com/opensearch-project/opensearch-plugins/blob/main/BUILDING.md](https://github.com/opensearch-project/opensearch-plugins/blob/main/BUILDING.md)

---

<div class="post-metadata">

**Author:** ![amitai](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/amitai/32/1072_2.png) [@amitai](https://forum.opensearch.org/u/amitai)\
**Post date:** [November 16, 2021, 5:56am UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593/3 "2021-11-16T05:56:57Z")

</div>

@vemsarat This means I should update [that template repo](https://github.com/opensearch-project/opensearch-plugin-template-java) - correct?

---

<div class="post-metadata">

**Author:** ![feng](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@feng](https://forum.opensearch.org/u/feng)\
**Post date:** [November 16, 2021, 7:05am UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593/4 "2021-11-16T07:05:06Z")

</div>

yes i clone it from github

---

<div class="post-metadata">

**Author:** ![feng](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@feng](https://forum.opensearch.org/u/feng)\
**Post date:** [November 16, 2021, 9:30am UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593/5 "2021-11-16T09:30:16Z")

</div>

should i clone project opensearch-build and install to local repo, then start dev new plugin?

---

<div class="post-metadata">

**Author:** ![amitai](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/amitai/32/1072_2.png) [@amitai](https://forum.opensearch.org/u/amitai)\
**Post date:** [November 16, 2021, 1:49pm UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593/6 "2021-11-16T13:49:15Z")

</div>

I suggest you take @vemsarat’s advice here. I was asking if I should make the fix in the template repo if this is indeed a bug…

---

<div class="post-metadata">

**Author:** ![vemsarat](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/vemsarat/32/1376_2.png) [@vemsarat](https://forum.opensearch.org/u/vemsarat)\
**Post date:** [November 17, 2021, 1:08am UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593/7 "2021-11-17T01:08:00Z")

</div>

@amitai thats a good point.  
I think we should update it to `1.2.0-SNAPSHOT`

I would prefer to go with a SNAPSHOT version than the release because the development work is starting and its good to put efforts on the right direction.  
What do you think?

---

<div class="post-metadata">

**Author:** ![feng](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@feng](https://forum.opensearch.org/u/feng)\
**Post date:** [November 17, 2021, 6:14am UTC](https://forum.opensearch.org/t/org-opensearch-gradle1-1-0-was-found/7593/8 "2021-11-17T06:14:23Z")

</div>

😂 it was resolved. my gradle should be bind to java more than 11.
