Skip to content

Commit

Permalink
Adds the partiql-lang import-only package
Browse files Browse the repository at this point in the history
  • Loading branch information
RCHowell committed Oct 3, 2024
1 parent 433c609 commit e1690ee
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
Empty file.
57 changes: 57 additions & 0 deletions partiql-lang/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

plugins {
id(Plugins.conventions)
id(Plugins.publish)
}

dependencies {
api(project(":partiql-ast"))
api(project(":partiql-eval"))
api(project(":partiql-parser"))
api(project(":partiql-plan"))
api(project(":partiql-planner"))
api(project(":partiql-spi"))
api(project(":partiql-types"))
}

tasks.shadowJar {
configurations = listOf(project.configurations.shadow.get())
}

// Workaround for https://github.com/johnrengelman/shadow/issues/651
components.withType(AdhocComponentWithVariants::class.java).forEach { c ->
c.withVariantsFromConfiguration(project.configurations.shadowRuntimeElements.get()) {
skip()
}
}

tasks.shadowJar {
configurations = listOf(project.configurations.shadow.get())
}

// Workaround for https://github.com/johnrengelman/shadow/issues/651
components.withType(AdhocComponentWithVariants::class.java).forEach { c ->
c.withVariantsFromConfiguration(project.configurations.shadowRuntimeElements.get()) {
skip()
}
}

publish {
artifactId = "partiql-lang"
name = "PartiQL JVM"
description = "An implementation of PartiQL for the JVM."
}
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ include(
"partiql-cli",
"partiql-coverage",
"partiql-eval",
"partiql-lang",
"partiql-parser",
"partiql-plan",
"partiql-planner",
Expand Down

0 comments on commit e1690ee

Please sign in to comment.