-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (41 loc) · 1.22 KB
/
build.gradle
File metadata and controls
52 lines (41 loc) · 1.22 KB
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
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id 'io.github.sgtsilvio.gradle.maven-central-publishing' version '0.4.1'
}
group = 'com.zebrunner'
version = "${version != 'unspecified' ? version : 'local'}"
repositories {
mavenCentral()
}
java {
withSourcesJar()
withJavadocJar()
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
dependencies {
compileOnly 'com.konghq:unirest-java:3.14.5'
implementation 'org.yaml:snakeyaml:2.4'
implementation 'net.bytebuddy:byte-buddy:1.12.18'
compileOnly 'io.appium:java-client:8.3.0'
implementation 'org.slf4j:slf4j-api:1.7.36'
compileOnly 'log4j:log4j:1.2.17'
compileOnly 'org.apache.logging.log4j:log4j-core:2.17.2'
compileOnly 'ch.qos.logback:logback-classic:1.5.17'
annotationProcessor 'org.projectlombok:lombok:1.18.36'
compileOnly 'org.projectlombok:lombok:1.18.36'
}
tasks.jar {
manifest {
attributes(
"Premain-Class": "com.zebrunner.agent.core.webdriver.DriverSessionsAgent",
"Can-Redefine-Classes": false,
"Can-Retransform-Classes": true,
"Build-Jdk": "11"
)
}
}
apply from: 'publish-maven.gradle'