diff --git a/utils/tests/utils.go b/utils/tests/utils.go index 00d738513..0ab37af12 100644 --- a/utils/tests/utils.go +++ b/utils/tests/utils.go @@ -398,7 +398,7 @@ func GetNonVirtualRepositories() map[*string]string { TestPip: {&PypiRemoteRepo}, TestPipenv: {&PipenvRemoteRepo}, TestPlugins: {&RtRepo1}, - TestXray: {&NpmRemoteRepo, &NugetRemoteRepo, &YarnRemoteRepo}, + TestXray: {&NpmRemoteRepo, &NugetRemoteRepo, &YarnRemoteRepo, &GradleRemoteRepo}, TestAccess: {&RtRepo1}, TestTransfer: {&RtRepo1, &RtRepo2, &MvnRepo1, &MvnRemoteRepo, &DockerRemoteRepo}, TestLifecycle: {&RtDevRepo, &RtProdRepo}, diff --git a/xray_test.go b/xray_test.go index c70044f3e..7b544dfab 100644 --- a/xray_test.go +++ b/xray_test.go @@ -988,6 +988,12 @@ func TestDependencyResolutionFromArtifactory(t *testing.T) { cacheRepoName: tests.YarnRemoteRepo, projectType: artUtils.Yarn, }, + { + testProjectPath: []string{"gradle", "gradleproject"}, + resolveRepoName: tests.GradleRemoteRepo, + cacheRepoName: tests.GradleRemoteRepo, + projectType: artUtils.Gradle, + }, } createJfrogHomeConfig(t, true) defer cleanTestsHomeEnv()