-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
executable file
·110 lines (78 loc) · 4.14 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.3/userguide/java_library_plugin.html
*/
plugins {
id 'java'
id 'eclipse'
}
group 'org.ic4j'
version '0.7.4'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
jar {
manifest {
attributes('Implementation-Title': 'ic4j-agent',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-agent'
}
task fatJar(type: Jar) {
manifest {
attributes('Implementation-Title': 'ic4j-agent',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-agent-with-dependencies'
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
test {
useJUnitPlatform()
exclude '**/*ICTest*'
exclude '**/*LoanTest*'
exclude '**/*TradingTest*'
}
dependencies {
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compileOnly group: 'org.slf4j', name: 'slf4j-api', version: '2.0.16'
// https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5
compileOnly group: 'org.apache.httpcomponents.client5', name: 'httpclient5', version: '5.3.1'
// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
compileOnly group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.12.0'
implementation group: 'org.ic4j', name: 'ic4j-candid', version: '0.7.4'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.17.0'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.17.2'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jdk8
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: '2.17.2'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-cbor
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.17.2'
// https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on
implementation group: 'org.bouncycastle', name: 'bcprov-jdk18on', version: '1.78.1'
// https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on
implementation group: 'org.bouncycastle', name: 'bcpkix-jdk18on', version: '1.78.1'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.11.0'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.11.0'
// https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher
testImplementation group: 'org.junit.platform', name: 'junit-platform-launcher', version: '1.11.0'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.16'
// https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5
testImplementation group: 'org.apache.httpcomponents.client5', name: 'httpclient5', version: '5.3.1'
// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
testImplementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.12.0'
// https://mvnrepository.com/artifact/org.skyscreamer/jsonassert
testImplementation group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.3'
// https://mvnrepository.com/artifact/org.mock-server/mockserver-netty
testImplementation group: 'org.mock-server', name: 'mockserver-netty', version: '5.11.2'
// https://mvnrepository.com/artifact/org.mock-server/mockserver-junit-rule
testImplementation group: 'org.mock-server', name: 'mockserver-junit-jupiter', version: '5.11.2'
}