-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
43 lines (35 loc) · 941 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
36
37
38
39
40
41
42
43
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
group 'ConfigHub'
version '1.9.2'
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
repositories {
mavenCentral()
flatDir( dir: 'lib' )
}
jar {
manifest {
attributes 'Main-Class': 'com.confighub.DatabaseMigration'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree( it ) }
}
}
dependencies {
compile group: 'org.liquibase', name: 'liquibase-core', version: '3.5.3'
compile group: 'info.picocli', name: 'picocli', version: '3.7.0'
compile group: 'org.postgresql', name: 'postgresql', version: '42.2.2'
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.13'
compile name: 'ojdbc8'
}