-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
69 lines (56 loc) · 2.26 KB
/
build.gradle
File metadata and controls
69 lines (56 loc) · 2.26 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
67
68
69
plugins {
id 'groovy'
id 'org.springframework.boot' version '3.2.3'
id 'io.spring.dependency-management' version '1.1.4'
id 'com.install4j.gradle' version '10.0.4'
}
group = 'dk.bpas.nomeco.integration'
version = '1.0.5'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.apache.camel.springboot:camel-spring-boot-bom:4.4.0'
implementation 'org.apache.camel.springboot:camel-spring-boot-starter:4.4.0'
implementation 'org.apache.camel:camel-endpointdsl:4.4.0'
implementation 'org.apache.camel:camel-quartz:4.4.0'
implementation 'org.apache.camel.springboot:camel-http-starter:4.4.0'
implementation 'org.apache.camel.springboot:camel-xpath-starter:4.4.0'
implementation 'org.apache.camel.springboot:camel-scheduler-starter:4.4.0'
implementation 'org.apache.camel.springboot:camel-quartz-starter:4.4.0'
implementation 'org.apache.camel.springboot:camel-xslt-saxon-starter:4.4.0'
implementation 'org.apache.groovy:groovy'
implementation 'org.apache.groovy:groovy-xml'
implementation 'org.apache.groovy:groovy-templates'
runtimeOnly 'com.microsoft.sqlserver:mssql-jdbc'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
bootJar {
archiveFileName = "${archiveBaseName.get()}.${archiveExtension.get()}"
}
install4j {
installDir = file("/install4j/install4j10.0.4")
license = System.getenv("INSTALL4J_LICENSE")
}
// Create temporary install file used to upgrade the build server
task copyInstall4JMedia(dependsOn: [bootJar], type: com.install4j.gradle.Install4jTask) {
projectFile = 'install4j/nomecointegration.install4j'
destination = 'deploy/install4j'
release = "${version}" + "_" + System.getenv("BITBUCKET_BUILD_NUMBER")
}
task uploadToServer(type: JavaExec) {
group = "Execution"
description = 'Run the'
classpath = configurations.runtimeClasspath
main = 'dk.bpas.equinor.gomintegration.utilities.BitbucketUpload'
args 'deploy/install4j/**'
}
tasks.named('test') {
useJUnitPlatform()
}