Hi team, I am trying to do some example with growt...
# ask-questions
m
Hi team, I am trying to do some example with growthbook-sdk-java My Gradle build is failing with the following exception gradle build
Task appcompileJava
FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task 'appcompileJava'.
Could not resolve all files for configuration 'appcompileClasspath'.
> Could not resolve com.github.growthbookgrowthbook sdk java0.9.0. Required by: project :app > Could not resolve com.github.growthbookgrowthbook sdk java0.9.0. > Could not get resource 'https://jitpack.io/com/github/growthbook/growthbook-sdk-java/0.9.0/growthbook-sdk-java-0.9.0.pom'. > Could not GET 'https://jitpack.io/com/github/growthbook/growthbook-sdk-java/0.9.0/growthbook-sdk-java-0.9.0.pom'. > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. For more on this, please refer to https://docs.gradle.org/8.2.1/userguide/build_environment.html#sec:gradle_system_properties in the Gradle documentation. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Here is my java env gradle --version ------------------------------------------------------------ Gradle 8.2.1 ------------------------------------------------------------ Build time: 2023-07-10 121235 UTC Revision: a38ec64d3c4612da9083cc506a1ccb212afeecaa Kotlin: 1.8.20 Groovy: 3.0.17 Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023 JVM: 17.0.8 (Oracle Corporation 17.0.8+9-LTS-211) OS: Mac OS X 13.5 aarch64
Can you pls suggest some pointers to move forward
b
has this started working for you yet? we are using jitpack which can sometimes have problems. it looks like when you made this attempt, their SSL cert was invalid.