Giter Club home page Giter Club logo

Comments (2)

KorDum avatar KorDum commented on September 3, 2024 1

try it

configurations {
    liquibaseRuntime {
        extendsFrom(configurations.compileClasspath.get())
    }
}

dependencies {
    liquibaseRuntime(rootProject.libs.postgresql)
    liquibaseRuntime("info.picocli:picocli:4.7.3")
    liquibaseRuntime(rootProject.libs.liquibase.core)
    liquibaseRuntime(rootProject.libs.liquibase.hibernate) // version 6+
    liquibaseRuntime(rootProject.libs.spring.jpa)
    liquibaseRuntime(sourceSets.getByName("main").output) // not compileClasspath
}

from liquibase-gradle-plugin.

a616101 avatar a616101 commented on September 3, 2024

It's work for me.

Groovy DSL:

configurations {
    liquibaseRuntime {
        extendsFrom configurations.compileClasspath
    }
}

dependencies {
    liquibaseRuntime 'org.liquibase:liquibase-core:4.26.0'
    liquibaseRuntime 'org.liquibase.ext:liquibase-hibernate6:4.25.1'
    liquibaseRuntime 'org.springframework.boot:spring-boot-starter-data-jpa:3.2.2'
    liquibaseRuntime 'info.picocli:picocli:4.7.5'
    liquibaseRuntime("jakarta.xml.bind:jakarta.xml.bind-api:4.0.1")
    liquibaseRuntime(sourceSets.getByName("main").output)
}

from liquibase-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.