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

Documentation Suggestion: Classpath Setup Section #163

Open
BungTH opened this issue Nov 13, 2024 · 0 comments
Open

Documentation Suggestion: Classpath Setup Section #163

BungTH opened this issue Nov 13, 2024 · 0 comments

Comments

@BungTH
Copy link

BungTH commented Nov 13, 2024

Hello, I have been trying to integrate the liquibase plugin with my project and I ran into a problem when I got to the section: Setting up the classpath. After I try to add

buildscript {
	repositories {
		mavenCentral()
	}
	dependencies {
		classpath 'org.liquibase:liquibase-core:4.26.1'
	}
}

into my code, and updated the gradle, I got this error.

A problem occurred configuring root project 'cvup-back'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find org.liquibase:liquibase-core:4.26.1.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/liquibase/liquibase-core/4.26.1/liquibase-core-4.26.1.pom
       - https://plugins.gradle.org/m2/org/liquibase/liquibase-core/4.26.1/liquibase-core-4.26.1.pom
     Required by:
         project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

You can change the version required on the classpath to any other version that is available on the maven central repository here (I used 4.30.0 at the time of writing this issue, and it works fine!)

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