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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...