1
1
plugins {
2
- id " io.spring.dependency-management" version " 1.0.9.RELEASE "
2
+ id " io.spring.dependency-management" version " 1.1.4 "
3
3
id ' java'
4
4
id ' jacoco'
5
5
}
@@ -17,11 +17,12 @@ def scriptsUrl = 'https://raw.githubusercontent.com/reportportal/gradle-scripts/
17
17
18
18
apply from : scriptsUrl + ' /release-fat.gradle'
19
19
apply from : scriptsUrl + ' /signing.gradle'
20
- apply from : scriptsUrl + ' /build-quality.gradle'
21
20
22
21
23
- sourceCompatibility = JavaVersion . VERSION_11
24
- targetCompatibility = JavaVersion . VERSION_11
22
+ java {
23
+ sourceCompatibility = JavaVersion . VERSION_21
24
+ targetCompatibility = JavaVersion . VERSION_21
25
+ }
25
26
26
27
repositories {
27
28
mavenCentral { url " https://repo1.maven.org/maven2" }
@@ -33,7 +34,7 @@ repositories {
33
34
34
35
dependencyManagement {
35
36
imports {
36
- mavenBom(releaseMode ? ' com.epam.reportportal:commons-bom:' + getProperty(' bom.version' ) : ' com.epam.reportportal:commons-bom:5.11.2 ' )
37
+ mavenBom(releaseMode ? ' com.epam.reportportal:commons-bom:' + getProperty(' bom.version' ) : ' com.epam.reportportal:commons-bom:5.12.1 ' )
37
38
}
38
39
}
39
40
@@ -43,30 +44,30 @@ dependencies {
43
44
implementation ' com.epam.reportportal:plugin-api'
44
45
annotationProcessor ' com.epam.reportportal:plugin-api'
45
46
} else {
46
- implementation ' com.github.reportportal:commons-dao:2834dd5 '
47
- implementation ' com.github.reportportal:plugin-api:3ecb915657 '
48
- annotationProcessor ' com.github.reportportal:plugin-api:3ecb915657 '
47
+ implementation ' com.github.reportportal:commons-dao:adbb40e '
48
+ implementation ' com.github.reportportal:plugin-api:815c74a '
49
+ annotationProcessor ' com.github.reportportal:plugin-api:815c74a '
49
50
}
50
51
implementation ' org.hibernate:hibernate-core:5.6.15.Final'
51
52
52
- compile ' com.rallydev.rest:rally-rest-api:2.2.1'
53
- compile ' net.oauth.core:oauth:20090617'
54
- compile ' net.oauth.core:oauth-httpclient4:20090913'
55
- compile ' org.apache.tika:tika-core:1.14'
56
- compile ' javax.inject:javax.inject:1'
53
+ implementation ' com.rallydev.rest:rally-rest-api:2.2.1'
54
+ implementation ' net.oauth.core:oauth:20090617'
55
+ implementation ' net.oauth.core:oauth-httpclient4:20090913'
56
+ implementation ' org.apache.tika:tika-core:1.14'
57
+ implementation ' javax.inject:javax.inject:1'
57
58
}
58
59
59
60
wrapper {
60
- gradleVersion = ' 5.4.1 '
61
+ gradleVersion = ' 8.10.2 '
61
62
}
62
63
63
64
generatePomFileForShadowPublication { pom. packaging = " jar" }
64
65
65
66
jar {
66
67
manifest {
67
68
attributes(
68
- " Class-Path" : configurations. compile . collect { it. getName() }. join(' ' ),
69
- " Plugin-Id" : " ${ pluginID } " ,
69
+ " Class-Path" : configurations. compileClasspath . collect { it. getName() }. join(' ' ),
70
+ " Plugin-Id" : " ${ pluginId } " ,
70
71
" Plugin-Version" : " ${ project.version} " ,
71
72
" Plugin-Provider" : " Andrei Varabyeu" ,
72
73
" Plugin-Class" : " com.epam.reportportal.extension.bugtracking.rally.RallyStrategyPlugin" ,
@@ -86,14 +87,14 @@ shadowJar {
86
87
}
87
88
88
89
task plugin (type : Jar ) {
89
- baseName = " plugin-${ pluginID } "
90
+ getArchiveBaseName() . set( " plugin-${ pluginId } " )
90
91
into(' classes' ) {
91
92
with jar
92
93
}
93
94
into(' lib' ) {
94
- from configurations. compile
95
+ from configurations. compileClasspath
95
96
}
96
- extension (' zip' )
97
+ archiveExtension . set (' zip' )
97
98
}
98
99
99
100
task assemblePlugin (type : Copy ) {
0 commit comments