-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·89 lines (63 loc) · 3.04 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
plugins {
id 'java-gradle-plugin'
}
group 'org.ic4j'
version '0.7.1'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
gradlePlugin {
plugins {
ic4jPlugin {
id = 'org.ic4j.ic4j-gradle-plugin'
displayName = 'IC4J Gradle Plugin'
description = 'The IC4J Gradle Plugin allows for the installation and uninstallation of ICP canisters from Gradle scripts.'
implementationClass = 'org.ic4j.gradle.ICPlugin'
}
}
}
jar {
manifest {
attributes('Implementation-Title': 'ic4j-gradle-plugin',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-gradle-plugin'
}
task fatJar(type: Jar) {
manifest {
attributes('Implementation-Title': 'ic4j-gradle-plugin',
'Implementation-Version': project.version)
}
archiveBaseName = 'ic4j-gradle-plugin-with-dependencies'
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
test {
useJUnitPlatform()
}
dependencies {
implementation group: 'org.ic4j', name: 'ic4j-agent', version: '0.7.1'
implementation group: 'org.ic4j', name: 'ic4j-candid', version: '0.7.1'
implementation group: 'org.ic4j', name: 'ic4j-management', version: '0.7.1'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.14.0'
// https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5
implementation group: 'org.apache.httpcomponents.client5', name: 'httpclient5', version: '5.1.4'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.17.1'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jdk8
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: '2.17.1'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-cbor
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.17.1'
// 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.10.0'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'
// https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher
testImplementation group: 'org.junit.platform', name: 'junit-platform-launcher', version: '1.10.0'
}