-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
65 lines (51 loc) · 1.98 KB
/
build.gradle
File metadata and controls
65 lines (51 loc) · 1.98 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
plugins {
id 'groovy'
id 'war'
id 'org.springframework.boot' version '3.3.5'
id 'io.spring.dependency-management' version '1.1.6'
}
group = 'dk.bpas'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-logging'
implementation 'org.springframework.boot:spring-boot-starter-groovy-templates'
implementation 'org.apache.groovy:groovy'
implementation 'org.apache.groovy:groovy-xml'
implementation 'org.apache.groovy:groovy-sql'
implementation 'com.zaxxer:HikariCP'
implementation 'org.springframework.boot:spring-boot-starter-web-services'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// implementation 'org.springframework.boot:spring-boot-starter-security'
testImplementation 'org.springframework.security:spring-security-test'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
runtimeOnly 'org.hsqldb:hsqldb'
runtimeOnly 'com.microsoft.sqlserver:mssql-jdbc:12.8.1.jre11' // Added dependency for SQL Server
runtimeOnly 'com.microsoft.sqlserver:mssql-jdbc_auth:12.8.1.x86' // Integrated authentication
runtimeOnly 'com.microsoft.sqlserver:mssql-jdbc_auth:12.8.1.x64' // Integrated authentication
runtimeOnly 'net.sf.jt400:jt400:20.0.7' // Added dependency for IBM iSeries DB2
runtimeOnly 'com.oracle.database.jdbc:ojdbc8-production:23.3.0.23.09' // Oracle JDBC driver
runtimeOnly 'net.sourceforge.jtds:jtds:1.3.1' // Added dependency for jTDS driver
runtimeOnly 'net.sourceforge.csvjdbc:csvjdbc:1.0.46' // CSV JDBC Driver
}
tasks.named('test') {
useJUnitPlatform()
}
// Ensure the packaging type is WAR
bootJar {
enabled = true
archiveFileName = "sqlbridge.jar"
}
war {
enabled = false
}