-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·65 lines (48 loc) · 1.73 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
/*
* 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.6.19.7'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
jar {
manifest {
attributes('Implementation-Title': 'ic4j-candid-gson',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-candid-gson'
}
task fatJar(type: Jar) {
manifest {
attributes('Implementation-Title': 'ic4j-candid-gson',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-candid-gson-with-dependencies'
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
test {
useJUnitPlatform()
}
dependencies {
implementation group: 'org.ic4j', name: 'ic4j-candid', version: '0.6.19.7'
// https://mvnrepository.com/artifact/com.google.code.gson/gson
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.9.2'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.6'
// https://mvnrepository.com/artifact/org.skyscreamer/jsonassert
testImplementation group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.1'
}