@@ -2,14 +2,15 @@ plugins {
22 id " io.spring.dependency-management" version " 1.1.7"
33 id ' java'
44 id ' jacoco'
5+ id ' com.gradleup.shadow' version ' 9.3.1'
56}
67
78project. ext {
89 publishRepo = " https://maven.pkg.github.com/reportportal/plugin-bts-rally"
910 dependencyRepos = [" plugin-api" , " commons-bom" ]
1011 releaseMode = project. hasProperty(" releaseMode" )
1112 pluginID = " rally"
12- pluginsDir = " $b uildDir / plugins"
13+ pluginsDir = layout . buildDirectory . dir( " plugins" ) . get() . asFile . path
1314}
1415
1516def scriptsUrl = ' https://raw.githubusercontent.com/reportportal/gradle-scripts/' +
@@ -20,15 +21,15 @@ apply from: scriptsUrl + '/signing.gradle'
2021
2122
2223java {
23- sourceCompatibility = JavaVersion . VERSION_21
24- targetCompatibility = JavaVersion . VERSION_21
24+ sourceCompatibility = JavaVersion . VERSION_25
25+ targetCompatibility = JavaVersion . VERSION_25
2526}
2627
2728repositories {
28- mavenCentral { url " https://repo1.maven.org/maven2" }
29+ mavenCentral { url = " https://repo1.maven.org/maven2" }
2930
3031 if (! releaseMode) {
31- maven { url ' https://jitpack.io' }
32+ maven { url = ' https://jitpack.io' }
3233 }
3334}
3435
@@ -40,19 +41,20 @@ dependencies {
4041 implementation ' com.epam.reportportal:service-api'
4142 annotationProcessor ' com.epam.reportportal:service-api'
4243 } else {
43- implementation ' com.github.reportportal:service-api:3e34a90 '
44- annotationProcessor ' com.github.reportportal:service-api:3e34a90 '
44+ implementation ' com.github.reportportal:service-api:7044a29 '
45+ annotationProcessor ' com.github.reportportal:service-api:7044a29 '
4546 }
4647
4748 implementation ' com.rallydev.rest:rally-rest-api:2.2.1'
4849
4950 testImplementation " org.junit.jupiter:junit-jupiter-params"
5051 testImplementation " org.junit.jupiter:junit-jupiter-api"
5152 testImplementation " org.junit.jupiter:junit-jupiter-engine"
53+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
5254}
5355
5456wrapper {
55- gradleVersion = ' 8.10.2 '
57+ gradleVersion = ' 9.3.1 '
5658}
5759
5860generatePomFileForShadowPublication { pom. packaging = " jar" }
7173}
7274
7375shadowJar {
74- zip64 true
76+ zip64 = true
7577 dependencies {
7678 include(dependency(' com.rallydev.rest:rally-rest-api' ))
7779 }
0 commit comments