Skip to content

Commit

Permalink
Use Gradle extractor 5 in Gradle >= 6.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi committed Aug 21, 2023
1 parent 8d07a99 commit 17280d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 43 deletions.
41 changes: 0 additions & 41 deletions artifactory/utils/gradleinitscript.go

This file was deleted.

3 changes: 1 addition & 2 deletions utils/gradle/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"path/filepath"
"strings"

"github.com/jfrog/build-info-go/build"
"github.com/jfrog/jfrog-cli-core/v2/artifactory/utils"
"github.com/jfrog/jfrog-cli-core/v2/utils/config"
"github.com/jfrog/jfrog-cli-core/v2/utils/coreutils"
Expand Down Expand Up @@ -53,7 +52,7 @@ func getGradleDependencyLocalPath() (string, error) {
if err != nil {
return "", err
}
return filepath.Join(dependenciesPath, "gradle", build.GradleExtractorDependencyVersion), nil
return filepath.Join(dependenciesPath, "gradle"), nil
}

func createGradleRunConfig(vConfig *viper.Viper, deployableArtifactsFile string, threads int, disableDeploy bool) (props map[string]string, wrapper, plugin bool, err error) {
Expand Down

0 comments on commit 17280d4

Please sign in to comment.