forked from Clarivate-LSPS/tMDataLoader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
66 lines (54 loc) · 1.65 KB
/
build.gradle
File metadata and controls
66 lines (54 loc) · 1.65 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.flywaydb:flyway-gradle-plugin:3.0'
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.5.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'spring-boot'
if (hasProperty('dbConfig')) {
apply plugin: 'flyway'
flyway {
url = dbConfig.jdbcConnectionString
user = dbConfig.username
password = dbConfig.password
}
}
group = 'com.thomsonreuters.lsps.transmart.etl'
version = '1.0.0'
description = """"""
sourceSets.main.java {
sourceCompatibility = 1.6
targetCompatibility = 1.6
}
repositories {
mavenCentral()
maven { url "https://code.lds.org/nexus/content/groups/main-repo" }
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.3.6'
compile 'com.oracle:ojdbc5:11.2.0.2.0'
compile files('lib/xdb6.jar')
compile 'postgresql:postgresql:9.1-901-1.jdbc4'
compile 'org.apache.commons:commons-csv:1.0'
runtime group: 'commons-cli', name: 'commons-cli', version: '1.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile 'org.spockframework:spock-core:1.0-groovy-2.3-SNAPSHOT'
}
jar {
manifest {
attributes 'Main-Class': 'com.thomsonreuters.lsps.transmart.etl.CommandLineTool', 'Implementation-Version': version
}
}
[sourceSets.main, sourceSets.test].each {
it.output.resourcesDir = it.output.classesDir
}
apply from: 'tasks.gradle'