File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
large-message-core/src/main/java/com/bakdata/kafka Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 31
31
import com .google .auth .oauth2 .GoogleCredentials ;
32
32
import com .google .cloud .storage .StorageOptions ;
33
33
import com .google .common .collect .ImmutableMap ;
34
- import com .google .common .collect .Lists ;
35
34
import java .io .File ;
36
35
import java .io .FileInputStream ;
37
36
import java .io .IOException ;
@@ -383,7 +382,7 @@ private BlobStorageClient createGoogleStorageClient() {
383
382
384
383
private GoogleCredentials getGoogleCredentials () {
385
384
try (final FileInputStream credentialsStream = new FileInputStream (this .getString (GOOGLE_CLOUD_KEY_PATH ))) {
386
- final List <String > scopes = Lists . newArrayList (GOOGLE_CLOUD_OAUTH_SCOPE );
385
+ final List <String > scopes = List . of (GOOGLE_CLOUD_OAUTH_SCOPE );
387
386
return GoogleCredentials .fromStream (credentialsStream ).createScoped (scopes );
388
387
} catch (final IOException ioException ) {
389
388
throw new UncheckedIOException (
Original file line number Diff line number Diff line change 25
25
description = " Kafka serde that stores large messages on a blob storage, such as Amazon S3 and Azure Blob Storage"
26
26
27
27
28
+ repositories {
29
+ mavenCentral()
30
+ maven(url = " https://packages.confluent.io/maven/" )
31
+ }
28
32
29
33
dependencies {
30
34
api(project(" :large-message-core" ))
You can’t perform that action at this time.
0 commit comments