Skip to content

Commit

Permalink
Prepares 1.0.0-rc.1 release (#1606)
Browse files Browse the repository at this point in the history
  • Loading branch information
RCHowell authored Oct 2, 2024
1 parent 9c06f71 commit 3221226
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Thank you to all who have contributed!
-->

## [1.0.0-rc.1]

### Added

### Changed

### Deprecated

### Fixed

### Removed

### Security

### Contributors
Thank you to all who have contributed!

## [0.14.8]

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This project is published to [Maven Central](https://search.maven.org/artifact/o

| Group ID | Artifact ID | Recommended Version |
|---------------|-----------------------|---------------------|
| `org.partiql` | `partiql-lang-kotlin` | `0.14.8` |
| `org.partiql` | `partiql-lang-kotlin` | `1.0.0-rc.1` |


For Maven builds, add the following to your `pom.xml`:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=org.partiql
version=1.0.0-SNAPSHOT
version=1.0.0-rc.1

ossrhUsername=EMPTY
ossrhPassword=EMPTY
Expand Down
3 changes: 2 additions & 1 deletion partiql-parser/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ tasks.compileTestKotlin {
tasks.withType<Jar>().configureEach {
// ensure "generateGrammarSource" is called before "sourcesJar".
dependsOn(tasks.withType<AntlrTask>())
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().configureEach {
Expand All @@ -97,7 +98,7 @@ tasks.processResources {
publish {
artifactId = "partiql-parser"
name = "PartiQL Parser"
description = "PartiQL's experimental Parser"
description = "PartiQL's Parser"
// `antlr` dependency configuration adds the ANTLR API configuration (and Maven `compile` dependency scope on
// publish). It's a known issue w/ the ANTLR gradle plugin. Follow https://github.com/gradle/gradle/issues/820
// for context. In the maven publishing step, any API or IMPLEMENTATION dependencies w/ "antlr4" non-runtime
Expand Down
1 change: 1 addition & 0 deletions partiql-spi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ components.withType(AdhocComponentWithVariants::class.java).forEach { c ->
tasks.withType<Javadoc> {
enabled = false
}

tasks.withType<Jar> {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
Expand Down
10 changes: 10 additions & 0 deletions partiql-types/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ components.withType(AdhocComponentWithVariants::class.java).forEach { c ->
}
}

// Need to add this as we have both Java and Kotlin sources. Dokka already handles multi-language projects. If
// Javadoc is enabled, we end up overwriting index.html (causing compilation errors).
tasks.withType<Javadoc> {
enabled = false
}

tasks.withType<Jar> {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

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

0 comments on commit 3221226

Please sign in to comment.