forked from RichardBradley/liquibase.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
35 lines (30 loc) · 816 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
buildscript {
repositories {
jcenter()
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
repositories {
jcenter()
}
dependencies {
ext.liquibaseVersion = project.findProperty('liquibaseVersion') ?: "3.8.0"
compile("org.liquibase:liquibase-core:${liquibaseVersion}")
}
sourceSets {
main {
java {
srcDirs = ['_doc_generators']
exclude 'lib/'
}
resources {
srcDirs = ['_doc_generators']
exclude 'lib/'
}
}
}
task generateChangesDoc(type:JavaExec, group:"DocGenerators", description:"Regenerates the 'documentation/changes' folder. Specify the version with '-PliquibaseVersion=#.#.#'.") {
main = 'org.liquibase.doc.generator.ChangeDocGenerator'
classpath = sourceSets.main.runtimeClasspath
}