Skip to content

Commit

Permalink
Fix build; remove redundant dep
Browse files Browse the repository at this point in the history
  • Loading branch information
alancai98 committed May 10, 2024
1 parent 987b083 commit f748062
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ abstract class PublishPlugin : Plugin<Project> {
}

tasks.getByName<Jar>("jar") {
// Do not create the normal `jar`; use the generated shadow jar instead
enabled = false
// Rename jar for `project` dependencies; not published to Maven
archiveClassifier.set("original")
}

// Setup Maven Central Publishing
Expand Down
1 change: 0 additions & 1 deletion examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ application {

dependencies {
implementation(project(":partiql-lang"))
implementation(project(":partiql-types"))
implementation(Deps.kotlinxCoroutines)
implementation(Deps.kotlinxCoroutinesJdk8)
implementation(Deps.awsSdkS3)
Expand Down
2 changes: 1 addition & 1 deletion partiql-ast/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ plugins {
dependencies {
api(Deps.pigRuntime)
api(Deps.ionElement)
api(project(":partiql-types", configuration = "shadow"))
api(project(":partiql-types"))
}

publish {
Expand Down
6 changes: 0 additions & 6 deletions partiql-cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ plugins {

dependencies {
implementation(project(":partiql-lang"))
implementation(project(":partiql-ast"))
implementation(project(":partiql-parser"))
implementation(project(":partiql-plan"))
implementation(project(":partiql-planner"))
implementation(project(":partiql-types"))
implementation(project(":plugins:partiql-local"))
implementation(project(":partiql-spi"))
implementation(Deps.csv)
implementation(Deps.awsSdkBom)
implementation(Deps.awsSdkDynamodb)
Expand Down
2 changes: 1 addition & 1 deletion partiql-coverage/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ plugins {
}

dependencies {
api(project(":partiql-lang", configuration = "shadow"))
api(project(":partiql-lang"))
implementation(Deps.junitApi)
implementation(Deps.junitParams)
implementation(Deps.junitPlatformLauncher)
Expand Down
4 changes: 2 additions & 2 deletions partiql-parser/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ plugins {

dependencies {
antlr(Deps.antlr)
api(project(":partiql-ast", configuration = "shadow"))
api(project(":partiql-types", configuration = "shadow"))
api(project(":partiql-ast"))
api(project(":partiql-types"))
implementation(Deps.ionElement)
shadow(Deps.antlrRuntime)
}
Expand Down
2 changes: 1 addition & 1 deletion partiql-plan/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ plugins {
}

dependencies {
api(project(":partiql-types", configuration = "shadow"))
api(project(":partiql-types"))
implementation(Deps.ionElement)
implementation(Deps.kotlinReflect)
}
Expand Down
8 changes: 4 additions & 4 deletions partiql-planner/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ plugins {
}

dependencies {
api(project(":partiql-plan", configuration = "shadow"))
api(project(":partiql-types", configuration = "shadow"))
implementation(project(":partiql-ast", configuration = "shadow"))
implementation(project(":partiql-spi", configuration = "shadow"))
api(project(":partiql-plan"))
api(project(":partiql-types"))
implementation(project(":partiql-ast"))
implementation(project(":partiql-spi"))
implementation(Deps.dotlin)
implementation(Deps.ionElement)
// Test
Expand Down
2 changes: 1 addition & 1 deletion partiql-spi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {

dependencies {
api(Deps.ionElement)
api(project(":partiql-types", configuration = "shadow"))
api(project(":partiql-types"))
}

publish {
Expand Down

0 comments on commit f748062

Please sign in to comment.