Library does not work in non-Android Java/Kotlin environments
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- build-system
Línea de trabajo
Reproduce the Gradle dependency-resolution failure in a non-Android Java/Kotlin project, then inspect the published com.etebase:client:2.3.2 variants and their AAR packaging. Done means the dependency resolves in the intended non-Android environment and a regression check is added if the repository provides one.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi,
when I add the library to my Kotlin/Java project, and try to run it, the following exception is thrown:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve com.etebase:client:2.3.2.
Required by:
project :
> No matching variant of com.etebase:client:2.3.2 was found. The consumer was configured to find an API of a library compatible with Java 15, preferably in the form of class files, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but:
- Variant 'releaseApiPublication' capability com.etebase:client:2.3.2 declares an API of a library, and its dependencies declared externally:
- Incompatible because this component declares a component, with the library elements 'aar' and the consumer needed a component, preferably in the form of class files
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 15)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
- Variant 'releaseRuntimePublication' capability com.etebase:client:2.3.2 declares a runtime of a library, and its dependencies declared externally:
- Incompatible because this component declares a component, with the library elements 'aar' and the consumer needed a component, preferably in the form of class files
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 15)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
* 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.
- Lenguaje dominante
- Rust
- Estrellas
- 58
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de etesync/etebase-java
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
etesync/etebase-java#2 · 1 comentario ·
Todos los issues de etesync/etebase-java
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
gitbutlerapp/gitbutler#15998 · 1 comentario ·
-
bug triage:deciding
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
open-telemetry/otel-arrow#4132 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100