Skip to content

Commit

Permalink
fix: Make Java, Python wheel artifacts have same dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Jul 26, 2024
1 parent 45bf00b commit 6815e0f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions py/embedded-server/java-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ dependencies {
runtimeOnly project(':hotspot-impl')
}

if (!hasProperty('excludeClockImpl')) {
runtimeOnly project(':clock-impl')
}

if (!hasProperty('excludeSql')) {
runtimeOnly project(':engine-sql')
}
Expand All @@ -35,6 +39,12 @@ dependencies {
runtimeOnly project(':extensions-s3')
runtimeOnly project(':extensions-iceberg-s3')
}

if (!hasProperty('excludeJson')) {
dependencies {
runtimeOnly project(':extensions-json-jackson')
}
}
}

// making a dir here isn't optimal, but without it we need to make py-embedded-server be a java and a python
Expand Down
2 changes: 2 additions & 0 deletions server/jetty-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ if (!hasProperty('excludeJson')) {
}
}

// When you add a new dependency here, be sure to include it in server-netty-app and py-embedded-server

def authHandlers = []
def authConfigs = ['AuthHandlers']
if (hasProperty('anonymous')) {
Expand Down
6 changes: 6 additions & 0 deletions server/netty-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ if (!hasProperty('excludeS3')) {
}
}

if (!hasProperty('excludeJson')) {
dependencies {
runtimeOnly project(':extensions-json-jackson')
}
}

def authHandlers = []
def authConfigs = ['AuthHandlers']
if (hasProperty('anonymous')) {
Expand Down

0 comments on commit 6815e0f

Please sign in to comment.