@@ -52,9 +52,9 @@ dependencies {
5252 api ' io.opencensus:opencensus-api:0.31.1'
5353 api ' io.opencensus:opencensus-contrib-http-util:0.31.1'
5454 api ' com.google.apis:google-api-services-storage:v1-rev20220705-2.0.0'
55-
56- testImplementation " org.apache.httpcomponents:httpclient:${ versions.httpclient} "
57- testImplementation " org.apache.httpcomponents:httpcore:${ versions.httpcore} "
55+ api ' com.google.http-client:google-http-client-apache-v2:1.42.3 '
56+ api " org.apache.httpcomponents:httpclient:${ versions.httpclient} "
57+ api " org.apache.httpcomponents:httpcore:${ versions.httpcore} "
5858
5959 testImplementation project(' :test:fixtures:gcs-fixture' )
6060 yamlRestTestImplementation project(' :test:fixtures:gcs-fixture' )
@@ -103,7 +103,6 @@ tasks.named("thirdPartyAudit").configure {
103103 )
104104
105105 ignoreMissingClasses(
106- ' com.google.api.client.http.apache.v2.ApacheHttpTransport' ,
107106 ' com.google.appengine.api.datastore.Blob' ,
108107 ' com.google.appengine.api.datastore.DatastoreService' ,
109108 ' com.google.appengine.api.datastore.DatastoreServiceFactory' ,
@@ -129,48 +128,6 @@ tasks.named("thirdPartyAudit").configure {
129128 ' org.apache.log.Logger' ,
130129 ' javax.jms.Message' ,
131130
132- // optional apache http client dependencies
133- ' org.apache.http.ConnectionReuseStrategy' ,
134- ' org.apache.http.Header' ,
135- ' org.apache.http.HttpEntity' ,
136- ' org.apache.http.HttpEntityEnclosingRequest' ,
137- ' org.apache.http.HttpHost' ,
138- ' org.apache.http.HttpRequest' ,
139- ' org.apache.http.HttpResponse' ,
140- ' org.apache.http.HttpVersion' ,
141- ' org.apache.http.RequestLine' ,
142- ' org.apache.http.StatusLine' ,
143- ' org.apache.http.client.AuthenticationHandler' ,
144- ' org.apache.http.client.HttpClient' ,
145- ' org.apache.http.client.HttpRequestRetryHandler' ,
146- ' org.apache.http.client.RedirectHandler' ,
147- ' org.apache.http.client.RequestDirector' ,
148- ' org.apache.http.client.UserTokenHandler' ,
149- ' org.apache.http.client.methods.HttpEntityEnclosingRequestBase' ,
150- ' org.apache.http.client.methods.HttpRequestBase' ,
151- ' org.apache.http.config.Registry' ,
152- ' org.apache.http.config.RegistryBuilder' ,
153- ' org.apache.http.conn.ClientConnectionManager' ,
154- ' org.apache.http.conn.ConnectionKeepAliveStrategy' ,
155- ' org.apache.http.conn.params.ConnManagerParams' ,
156- ' org.apache.http.conn.params.ConnRouteParams' ,
157- ' org.apache.http.conn.routing.HttpRoutePlanner' ,
158- ' org.apache.http.conn.scheme.PlainSocketFactory' ,
159- ' org.apache.http.conn.scheme.SchemeRegistry' ,
160- ' org.apache.http.conn.socket.PlainConnectionSocketFactory' ,
161- ' org.apache.http.conn.ssl.SSLSocketFactory' ,
162- ' org.apache.http.conn.ssl.X509HostnameVerifier' ,
163- ' org.apache.http.entity.AbstractHttpEntity' ,
164- ' org.apache.http.impl.client.DefaultHttpClient' ,
165- ' org.apache.http.impl.client.HttpClientBuilder' ,
166- ' org.apache.http.impl.conn.PoolingHttpClientConnectionManager' ,
167- ' org.apache.http.params.HttpConnectionParams' ,
168- ' org.apache.http.params.HttpParams' ,
169- ' org.apache.http.params.HttpProtocolParams' ,
170- ' org.apache.http.protocol.HttpContext' ,
171- ' org.apache.http.protocol.HttpProcessor' ,
172- ' org.apache.http.protocol.HttpRequestExecutor' ,
173-
174131 // commons-logging provided dependencies
175132 ' javax.servlet.ServletContextEvent' ,
176133 ' javax.servlet.ServletContextListener'
0 commit comments