-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
65 lines (55 loc) · 1.71 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
63
64
65
plugins {
id 'java'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
group 'com.dbclient.jdbc'
version '1.0'
tasks.jar {
// Jar Info
archiveClassifier.set('all')
destinationDirectory.set(file("$rootDir/vscode-dbclient-jdbc"))
manifest.attributes["Main-Class"] = "com.dbclient.jdbc.server.JdbcExecutorServer"
// Dependencies
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
} {
exclude {
it.path.startsWith("META-INF/") && !it.path.startsWith("META-INF/services")
}
}
}
repositories {
mavenCentral()
}
// https://mvnrepository.com
dependencies {
// Logging
implementation 'ch.qos.logback:logback-core:1.2.6'
implementation 'ch.qos.logback:logback-classic:1.2.6'
// Jackson
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.2'
// Azure
implementation('com.microsoft.azure:msal4j:1.19.1') {
exclude group: 'org.slf4j', module: 'slf4j-api'
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'
}
// Oracle
implementation 'xerces:xercesImpl:2.12.2'
implementation 'com.oracle.database.xml:xdb6:18.3.0.0'
implementation 'com.oracle.database.jdbc:ojdbc8:21.5.0.0'
// Compress
implementation 'org.apache.commons:commons-compress:1.27.1'
// Lombok
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.30'
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: '1.18.30'
}
test {
useJUnitPlatform()
}