Skip to content

Commit

Permalink
Move to Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Keller committed Oct 16, 2024
1 parent dc3bc13 commit 4da86f5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ allprojects {

idea {
project {
jdkName = "8"
languageLevel = "8"
jdkName = "17"
languageLevel = "17"
vcs = "Git"
}
}
Expand All @@ -98,8 +98,8 @@ configure(javaProjects) {

group = "com.netflix.${githubProjectName}"

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

dependencyManagement {
imports {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Used in documentation and for including the Gradle plugin
spring_boot_version=2.7.11
spring_cloud_version=Hoxton.SR8
google_guice_version=4.1.0
google_guice_version=5.1.0
spock_version=2.1-groovy-3.0

## Override Spring Boot versions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Collections;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public HiveMetastoreClientFactory(@Nullable final HostAndPort socksProxy,
}

private static Socket createSocksSocket(final HostAndPort proxy) {
final SocketAddress address = InetSocketAddress.createUnresolved(proxy.getHostText(), proxy.getPort());
final SocketAddress address = InetSocketAddress.createUnresolved(proxy.getHost(), proxy.getPort());
return new Socket(new Proxy(Proxy.Type.SOCKS, address));
}

Expand Down
1 change: 0 additions & 1 deletion metacat-connector-s3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ dependencies {
api("com.google.guava:guava")
api("com.google.inject:guice")
api("com.google.inject.extensions:guice-persist")
api("com.google.inject.extensions:guice-multibindings")
api("com.google.inject.extensions:guice-servlet")
api("joda-time:joda-time:2.10.10")
api("org.hibernate:hibernate-entitymanager")
Expand Down

0 comments on commit 4da86f5

Please sign in to comment.