forked from ic4j/ic4j-candid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·126 lines (94 loc) · 4.49 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/*
* 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'
id "com.intershop.gradle.javacc" version "4.0.1"
}
group 'org.ic4j'
version '0.7.4'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
javacc {
javaCCVersion '5.0'
// configuration container for all javacc configurations
configs {
value {
inputFile = file('src/main/java/org/ic4j/candid/parser/idl/value/IDLValueGrammar.jjt')
outputDir = file('src/main/java')
packageName = 'org.ic4j.candid.parser.idl.value'
jjtree {
nodePackage = 'org.ic4j.candid.parser.idl.value'
}
}
type {
inputFile = file('src/main/java/org/ic4j/candid/parser/idl/type/IDLTypeGrammar.jjt')
outputDir = file('src/main/java')
packageName = 'org.ic4j.candid.parser.idl.type'
jjtree {
nodePackage = 'org.ic4j.candid.parser.idl.type'
}
}
}
}
jar {
manifest {
attributes('Implementation-Title': 'ic4j-candid',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-candid'
}
task fatJar(type: Jar) {
manifest {
attributes('Implementation-Title': 'ic4j-candid',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-candid-with-dependencies'
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
test {
useJUnitPlatform()
}
dependencies {
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compileOnly group: 'org.slf4j', name: 'slf4j-api', version: '2.0.16'
// https://mvnrepository.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api
compileOnly group: 'jakarta.xml.bind', name: 'jakarta.xml.bind-api', version: '3.0.1'
// https://mvnrepository.com/artifact/com.google.code.gson/gson
compileOnly group: 'com.google.code.gson', name: 'gson', version: '2.11.0'
// 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/org.bouncycastle/bcprov-jdk18on
implementation group: 'org.bouncycastle', name: 'bcprov-jdk18on', version: '1.78.1'
// 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/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/jakarta.xml.bind/jakarta.xml.bind-api
testImplementation group: 'jakarta.xml.bind', name: 'jakarta.xml.bind-api', version: '3.0.1'
// https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl
testImplementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '3.0.2'
// https://mvnrepository.com/artifact/com.google.code.gson/gson
testImplementation group: 'com.google.code.gson', name: 'gson', version: '2.11.0'
// https://mvnrepository.com/artifact/commons-codec/commons-codec
testImplementation group: 'commons-codec', name: 'commons-codec', version: '1.17.1'
// https://mvnrepository.com/artifact/org.skyscreamer/jsonassert
testImplementation group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.3'
// https://mvnrepository.com/artifact/org.apache.derby/derby
testImplementation group: 'org.apache.derby', name: 'derby', version: '10.17.1.0'
testImplementation group: 'com.prowidesoftware', name: 'pw-iso20022', version: 'SRU2023-9.4.4'
}