forked from daquino/liquify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (38 loc) · 900 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
44
45
46
47
plugins {
id 'com.github.johnrengelman.shadow' version '1.2.3'
}
group 'com.refactify'
version '1.0'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
shadowJar {
manifest {
attributes 'Main-Class': 'com.refactify.Liquify'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile "org.liquibase:liquibase-core:3.8.0"
compile "org.yaml:snakeyaml:1.23"
compile 'org.slf4j:slf4j-api:1.7.25'
}
task prepareDist(dependsOn: 'shadowJar') << {
copy {
from ('build/libs/') {
rename 'liquify(.*).jar', 'liquify.jar'
}
into 'build/dist/libs'
}
copy {
from 'src/main/shell/'
into 'build/dist/'
}
}
task dist(dependsOn: ['clean', 'prepareDist'], type: Zip) {
from ('build/dist')
into (baseName + '-' + version)
}