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
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Python Function Deployment hits General ...
The same deployment was working without issue yesterday and I have not hit any free tier limits yet. How do I figure out what's happening? Are you having issues...