This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new ee06eb1bc0 IGNITE-19978 Java client: Change Gradle dependencies from 
implementation to api (#2427)
ee06eb1bc0 is described below

commit ee06eb1bc00679c0fe2836d56a265c07dae8dd08
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Wed Aug 9 14:19:47 2023 +0300

    IGNITE-19978 Java client: Change Gradle dependencies from implementation to 
api (#2427)
    
    Change dependency type for `ignite-api` and `ignite-core` projects from 
`implementation` to `api`.
    
    Those two projects contain public API types.
    * With `implementation` dependency type, users have to explicitly add 
dependencies to all three modules to use those types
    * With `api` dependency type, single `ignite-client` dependency is enough 
to use the entire public API
---
 modules/client/build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/client/build.gradle b/modules/client/build.gradle
index 8cab8c304a..92b50d8aa6 100644
--- a/modules/client/build.gradle
+++ b/modules/client/build.gradle
@@ -20,8 +20,8 @@ apply from: "$rootDir/buildscripts/publishing.gradle"
 apply from: "$rootDir/buildscripts/java-junit5.gradle"
 
 dependencies {
-    implementation project(':ignite-api')
-    implementation project(':ignite-core')
+    api project(':ignite-api')
+    api project(':ignite-core')
     implementation project(':ignite-binary-tuple')
     implementation project(':ignite-client-common')
     implementation project(':ignite-marshaller-common')

Reply via email to