File tree Expand file tree Collapse file tree 5 files changed +24
-25
lines changed Expand file tree Collapse file tree 5 files changed +24
-25
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
build :
12
- runs-on : ubuntu-22 .04
12
+ runs-on : ubuntu-24 .04
13
13
steps :
14
14
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
15
15
- name : Check out code
16
- uses : actions/checkout@v3
16
+ uses : actions/checkout@v4
17
17
with :
18
18
ref : ${{github.event.pull_request.head.ref}}
19
19
repository : ${{github.event.pull_request.head.repo.full_name}}
24
24
with :
25
25
args : build
26
26
dependency-check :
27
- runs-on : ubuntu-22 .04
27
+ runs-on : ubuntu-24 .04
28
28
steps :
29
29
- name : Dependency Check
30
- uses : hypertrace/github-actions/dependency-check@main
30
+ uses : hypertrace/github-actions/dependency-check@main
31
+ with :
32
+ nvd-api-key : ${{ secrets.NVD_API_KEY }}
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
publish-artifacts :
11
- runs-on : ubuntu-22 .04
11
+ runs-on : ubuntu-24 .04
12
12
steps :
13
13
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
14
14
- name : Check out code
15
- uses : actions/checkout@v3
15
+ uses : actions/checkout@v4
16
16
with :
17
17
fetch-depth : 0
18
18
21
21
with :
22
22
args : publish
23
23
env :
24
- ORG_GRADLE_PROJECT_artifactory_contextUrl : ${{ secrets.ARTIFACTORY_CONTEXT_URL }}
25
- ORG_GRADLE_PROJECT_artifactory_user : ${{ secrets.ARTIFACTORY_PUBLISH_USER }}
26
- ORG_GRADLE_PROJECT_artifactory_password : ${{ secrets.ARTIFACTORY_PUBLISH_TOKEN }}
24
+ ORG_GRADLE_PROJECT_maven_repo_url : ${{ secrets.HAR_REPO_URL }}
25
+ ORG_GRADLE_PROJECT_maven_user : ${{ secrets.HAR_PUBLISH_USER }}
26
+ ORG_GRADLE_PROJECT_maven_password : ${{ secrets.HAR_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import org.hypertrace.gradle.publishing.License.APACHE_2_0
2
2
3
3
plugins {
4
4
`java- gradle- plugin`
5
- id(" org.hypertrace.repository-plugin" ) version " 0.4 .0"
6
- id(" org.hypertrace.ci-utils-plugin" ) version " 0.3 .0"
7
- id(" org.hypertrace.publish-plugin" ) version " 1.0.4 "
8
- id(" org.owasp.dependencycheck" ) version " 8.4 .0"
5
+ id(" org.hypertrace.repository-plugin" ) version " 0.5 .0"
6
+ id(" org.hypertrace.ci-utils-plugin" ) version " 0.4 .0"
7
+ id(" org.hypertrace.publish-plugin" ) version " 1.1.1 "
8
+ id(" org.owasp.dependencycheck" ) version " 12.1 .0"
9
9
}
10
10
11
11
group = " org.hypertrace.gradle.code.style"
@@ -16,11 +16,9 @@ java {
16
16
}
17
17
18
18
dependencies {
19
- api(" com.diffplug.spotless:spotless-plugin-gradle:6.25.0 " )
19
+ api(" com.diffplug.spotless:spotless-plugin-gradle:7.0.4 " )
20
20
constraints {
21
- implementation(" com.squareup.okio:okio:3.4.0" )
22
- implementation(" org.eclipse.jgit:org.eclipse.jgit:6.8.0.202311291450-r" )
23
- implementation(" org.eclipse.platform:org.eclipse.osgi:3.18.500" )
21
+ implementation(" org.eclipse.jgit:org.eclipse.jgit:7.3.0.202506031305-r" )
24
22
}
25
23
}
26
24
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<suppressions xmlns =" https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd" >
3
- <suppress >
4
- <packageUrl regex =" true" >^pkg:maven/org\.eclipse\.platform/org\.eclipse\.osgi@.*$</packageUrl >
5
- <cpe >cpe:/a:eclipse:equinox</cpe >
6
- </suppress >
3
+ <suppress >
4
+ <packageUrl regex =" true" >^pkg:maven/org\.eclipse\.platform/org\.eclipse\.osgi@.*$</packageUrl >
5
+ <cpe >cpe:/a:eclipse:equinox</cpe >
6
+ <cpe >cpe:/a:eclipse:platform</cpe >
7
+ </suppress >
7
8
</suppressions >
Original file line number Diff line number Diff line change @@ -2,14 +2,12 @@ pluginManagement {
2
2
repositories {
3
3
mavenLocal()
4
4
gradlePluginPortal()
5
- maven {
6
- url = uri(" https://hypertrace.jfrog.io/artifactory/maven" )
7
- }
5
+ maven(" https://us-maven.pkg.dev/hypertrace-repos/maven" )
8
6
}
9
7
}
10
8
11
9
plugins {
12
- id(" org.hypertrace.version-settings" ) version " 0.2 .0"
10
+ id(" org.hypertrace.version-settings" ) version " 0.3 .0"
13
11
}
14
12
15
13
rootProject.name = " hypertrace-gradle-code-style-plugin"
You can’t perform that action at this time.
0 commit comments