-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (55 loc) · 1.77 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
buildscript {
ext {
springBootVersion = '1.5.14.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'com.apache.camel.sql.component'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
configurations {
cucumberRuntime {
extendsFrom testRuntime
}
}
task cucumber() {
dependsOn assemble, compileTestJava
doLast {
javaexec {
main = "cucumber.api.cli.Main"
classpath = configurations.cucumberRuntime + sourceSets.main.output + sourceSets.test.output
args = ['--plugin', 'pretty', '--glue', 'com.apache.camel.sql.component.cucumber', 'src/test/resources/features']
}
}
}
cucumber.mustRunAfter test
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-jdbc')
compile('org.apache.httpcomponents:httpclient:4.5.6')
compile('de.codecentric:spring-boot-admin-starter-client:1.5.4')
compile('org.modelmapper:modelmapper:0.7.7')
compile('org.apache.camel:camel-spring-boot-starter:2.20.2')
compile('org.apache.commons:commons-lang3:3.7')
compile('org.apache.camel:camel-sql:2.20.2')
compile('com.microsoft.sqlserver:mssql-jdbc:6.2.1.jre8')
compile('io.springfox:springfox-swagger2:2.7.0')
compile('io.springfox:springfox-swagger-ui:2.7.0')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('io.cucumber:cucumber-java8:2.3.1')
testCompile(group: 'info.cukes', name: 'gherkin', version: '2.12.2')
testCompile('io.cucumber:cucumber-spring:2.3.1')
testCompile('io.cucumber:cucumber-junit:2.3.1')
}