-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
81 lines (65 loc) · 2.1 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
buildscript {
repositories {
gradlePluginPortal()
flatDir {
dirs 'libs'
}
dependencies {
classpath name: 'package-compileonly-sdk', version: '1.3.0'
classpath "gradle.plugin.com.github.johnrengelman:shadow:7.1.1"
}
}
}
plugins {
id 'java'
}
configure(allprojects) {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: "com.automationanywhere.command-codegen"
ext {
groupName = 'com.automationanywhere'
testNgVersion = '6.14.3'
loggerVersion = '2.20.0'
jnaVersion = '5.3.1'
version '3.3.0'
}
group "$groupName"
sourceCompatibility = JavaVersion.VERSION_11
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}
packageJson {
artifactName = project.name
group = "$groupName"
author = "Sumit Kumar"
generatePackageWithDateTime = false
}
jar.dependsOn commandCodeGen
shadowJar {
archiveBaseName = project.name
classifier = null
mergeServiceFiles('META-INF/spring.*')
mergeServiceFiles('META-INF/services/java.sql.Driver')
zip64 = true
exclude 'META-INF/MANIFEST.MF'
exclude 'META-INF/*.SF'
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
}
dependencies {
annotationProcessor name: 'package-compileonly-sdk', version: '1.4.0'
compileOnly name: 'package-compileonly-sdk', version: '1.4.0'
compileOnly group: "org.apache.logging.log4j", name: "log4j-api", version: "$loggerVersion"
implementation name: 'package-runtime-sdk', version: '1.0.0'
testImplementation name: 'package-compileonly-sdk', version: '1.0.0'
testImplementation group: "org.testng", name: "testng", version: "$testNgVersion"
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'org.json:json:20230618'
implementation 'org.passay:passay:1.6.3'
}
}