Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add dependencies #751

Open
monandszy opened this issue Jun 13, 2024 · 0 comments
Open

Cannot add dependencies #751

monandszy opened this issue Jun 13, 2024 · 0 comments

Comments

@monandszy
Copy link

this gradle.build:
dependencies {
docker("library:caddy:2.8.4-alpine")
}

compose-template.yml
services:
caddy:
image: caddy:{{library:caddy}}
is not resolved correctly no matter what dependency I try

Task :app:generateDockerCompose FAILED
Resolving Docker template dependencies from configuration docker...
Resolving global dependency management for project 'app'
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/library/caddy/2.8.4-alpine/caddy-2.8.4-alpine.pom]
Excluding []

Execution failed for task ':app:generateDockerCompose'.

Error while evaluating property 'moduleDependencies' of task ':app:generateDockerCompose'.
Could not resolve all dependencies for configuration ':app:docker'.
> Could not find library:caddy:2.8.4-alpine.
Required by:
project :app

is it even supposed to behave this way, or did I configure something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant