Skip to content

Commit 68023ac

Browse files
authored
Add partiql-planner Maven publishing plugin v0.11.1 (#1215)
1 parent 748e8eb commit 68023ac

File tree

5 files changed

+19
-20
lines changed

5 files changed

+19
-20
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535

3636
### Security
3737

38+
## [0.11.1] - 2023-09-19
39+
40+
### Fixed
41+
- Fixes build failure for version `0.11.0` by publishing `partiql-plan` as an independent artifact. Please note that `partiql-plan` is experimental.
3842

3943
## [0.11.0] - 2023-05-22
4044

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This project is published to [Maven Central](https://search.maven.org/artifact/o
3131

3232
| Group ID | Artifact ID | Recommended Version |
3333
|---------------|-----------------------|---------------------|
34-
| `org.partiql` | `partiql-lang-kotlin` | `0.11.0` |
34+
| `org.partiql` | `partiql-lang-kotlin` | `0.11.1` |
3535

3636

3737
For Maven builds, add the following to your `pom.xml`:

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=org.partiql
2-
version=0.11.0
2+
version=0.11.1
33

44
ossrhUsername=EMPTY
55
ossrhPassword=EMPTY

partiql-lang/build.gradle.kts

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ plugins {
2222
id(Plugins.publish)
2323
}
2424

25-
val libs: Configuration by configurations.creating
26-
27-
configurations {
28-
api.get().extendsFrom(libs)
29-
}
30-
3125
// Disabled for partiql-lang project.
3226
kotlin {
3327
explicitApi = null
@@ -38,11 +32,10 @@ dependencies {
3832
api(project(":lib:isl"))
3933
api(project(":partiql-spi"))
4034
api(project(":partiql-types"))
35+
api(project(":partiql-plan"))
4136
api(Deps.ionElement)
4237
api(Deps.ionJava)
4338
api(Deps.pigRuntime)
44-
// libs are included in partiql-lang-kotlin JAR
45-
libs(project(":partiql-plan"))
4639
implementation(Deps.antlrRuntime)
4740
implementation(Deps.csv)
4841
implementation(Deps.kotlinReflect)
@@ -107,13 +100,3 @@ tasks.processResources {
107100
into("org/partiql/type-domains/")
108101
}
109102
}
110-
111-
tasks.jar {
112-
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
113-
// adds all `libs(project(...))` to the partiql-lang-kotlin jar
114-
from(
115-
libs.dependencies.filterIsInstance<ProjectDependency>().map {
116-
it.dependencyProject.sourceSets.main.get().output.classesDirs
117-
}
118-
)
119-
}

partiql-plan/build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
plugins {
1818
id(Plugins.conventions)
19+
id(Plugins.publish)
1920
id(Plugins.library)
2021
}
2122

@@ -25,6 +26,17 @@ dependencies {
2526
implementation(Deps.kotlinReflect)
2627
}
2728

29+
// Disabled for partiql-plan project.
30+
kotlin {
31+
explicitApi = null
32+
}
33+
34+
publish {
35+
artifactId = "partiql-plan"
36+
name = "PartiQL Plan"
37+
description = "PartiQL Plan experimental data structures"
38+
}
39+
2840
val generate = tasks.register<Exec>("generate") {
2941
dependsOn(":lib:sprout:install")
3042
workingDir(projectDir)

0 commit comments

Comments
 (0)