37 lines
1.2 KiB
Groovy
37 lines
1.2 KiB
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.liquibase.gradle'
|
||
|
}
|
||
|
|
||
|
bootJar {
|
||
|
enabled = false
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
liquibaseRuntime "org.liquibase:liquibase-core:${liquibaseCoreVersion}"
|
||
|
liquibaseRuntime "org.liquibase:liquibase-gradle-plugin:${liquibasePluginVersion}"
|
||
|
liquibaseRuntime "ch.qos.logback:logback-classic:${logbackVersion}"
|
||
|
liquibaseRuntime "ch.qos.logback:logback-core:${logbackVersion}"
|
||
|
liquibaseRuntime sourceSets.main.output
|
||
|
|
||
|
testImplementation "org.liquibase:liquibase-core:${liquibaseCoreVersion}"
|
||
|
testImplementation 'com.h2database:h2'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
}
|
||
|
|
||
|
liquibase {
|
||
|
activities {
|
||
|
main {
|
||
|
changeLogFile 'db/changelog/changelog.xml'
|
||
|
// url System.getProperty('liquibaseUrl') ?:
|
||
|
// "jdbc:oracle:thin:@(DESCRIPTION=\
|
||
|
// (ADDRESS_LIST=\
|
||
|
// (ADDRESS=(PROTOCOL=tcp)(HOST=nl-lsnr-stg00.local.profee.com)(PORT=1521)))\
|
||
|
// (CONNECT_DATA=(SERVICE_NAME=PFTEST)(ur=a)))"
|
||
|
// username System.getProperty('liquibaseUsername')
|
||
|
// password System.getProperty('liquibasePassword')
|
||
|
}
|
||
|
}
|
||
|
}
|