-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (30 loc) · 747 Bytes
/
build.gradle
File metadata and controls
36 lines (30 loc) · 747 Bytes
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
plugins {
id 'java'
id 'application'
}
group 'turntabl'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'com.h2database', name: 'h2', version: '1.3.148'
}
application {
mainClassName = 'io.turntabl.tcms.ClientManagementSystem'
}
task create(type: Copy) {
from './clients.csv'
into 'build/scripts'
}
tasks.startScripts {
doLast {
def scriptFile = file "${outputDir}/${applicationName}"
scriptFile.text = scriptFile.text.replace('CLASSPATH=$APP_HOME/lib', 'CLASSPATH=$APP_HOME/libs')
}
}
application {
mainClassName = 'io.turntabl.tcms.ClientManagementSystem'
}