Skip to content

Cannot access org.jfrog.build.client.PreemptiveHttpClientBuilder #51

@navenduraisamy

Description

@navenduraisamy

I did download the repository locally and gradle clean install. It successfully ran and i could find the binaries in local maven repository.
But when I try to use the library I get err as Cannot access org.jfrog.build.client.PreemptiveHttpClientBuilder

private Xray createXrayClient(String xrayUrl) {
        return (Xray) new XrayClientBuilder()
                .setUrl(xrayUrl)
                .setUserName(trim(username.getText()))
                .setPassword(String.valueOf(password.getPassword()))
                .setAccessToken(String.valueOf(accessToken.getPassword()))
                .setUserAgent(USER_AGENT)
                .setInsecureTls(serverConfig.isInsecureTls())
                .setSslContext(serverConfig.getSslContext())
                .setProxyConfiguration(serverConfig.getProxyConfForTargetUrl(xrayUrl))
                .setLog(Logger.getInstance())
                .build();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions