I'm working on sync with meilisearch java template and for testing the code on deployment i'm getting this build error:
Building ...
Compiling ...
Downloading https://services.gradle.org/distributions/gradle-7.5.1-bin.zip
...........10%............20%...........30%............40%...........50%............60%...........70%............80%...........90%............100%
Welcome to Gradle 7.5.1!
Here are the highlights of this release:
- Support for Java 18
- Support for building with Groovy 4
- Much more responsive continuous builds
- Improved diagnostics for dependency resolution
For more details see https://docs.gradle.org/7.5.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* Where:
Build file '/usr/local/server/build.gradle' line: 25
* What went wrong:
Could not determine the dependencies of task ':buildJar'.
> Could not resolve all files for configuration ':runtimeClasspath'.
> Could not find com.meilisearch.sdk:meilisearch-java:0.11.3.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/meilisearch/sdk/meilisearch-java/0.11.3/meilisearch-java-0.11.3.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 44s```
I've included the dependency in deps.gradle: dependencies {
implementation 'io.appwrite:sdk-for-kotlin:2.0.0'
implementation 'com.meilisearch.sdk:meilisearch-java:0.11.3'
}
try 0.11.2?
worked. Thanks.
ya looks like maven doesn't have 0.11.3 yet
[SOLVED]Build Failure on function deployment
[SOLVED] Build Failure on function deployment
Recommended threads
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...