Skip to content

Commit

Permalink
doc(jooqx): update core-usage.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
zero88 committed Jun 27, 2024
1 parent 0dff504 commit 45075a3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
base=CHANGELOG.md
breaking-labels=breaking-changes
bug-labels=T: Bug
exclude-tags-regex=(jpa|rsql|docs\/.+)\/v.+
exclude-tags-regex=(jpa|rsql|(docs\/.+))\/v.+
exclude-labels=R: Duplicate,R: Invalid,R: Wontfix,T: Question,!release-note,Project: jpa,Project: rsql
enhancement-labels=T: Improvement,T: Feature
exclude-tags=v2.0.0-rc2,v2.0.0-rc2+2
5 changes: 2 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ plugins {
alias(libs.plugins.codegen) apply false
alias(libs.plugins.docgen) apply false
alias(libs.plugins.jooq) apply false
alias(libs.plugins.shadow) apply false
}

project.ext.set("baseName", "jooqx")
Expand Down Expand Up @@ -71,7 +72,6 @@ subprojects {
}
}
}

val buildVersion = when (jvmRuntime) {
"8" -> if (jvmRelease == "8") "" else "+jvm8"
"11" -> if (jvmRelease == "11") "" else "+jvm11"
Expand All @@ -82,8 +82,7 @@ subprojects {
val semanticVersion = prop(project, "semanticVersion", "")
version = when (semanticVersion) {
"-SNAPSHOT" -> project.version.toString().replace(semanticVersion, buildVersion + semanticVersion)
"" -> project.version.toString() + buildVersion
else -> project.version.toString().replace(semanticVersion, semanticVersion + buildVersion)
else -> "${project.version}$buildVersion"
}

dependencies {
Expand Down
10 changes: 5 additions & 5 deletions docs/asciidoc/src/antora/pages/core-usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ The table below describe `jooq.x` compatibility with several integrations.
|Java |jOOQ |Vert.x |jooq.x

|`8`
|`<= 3.14.16`
|`\<= 3.14.16`
|`^4.2`
|{jooqx-version}-jvm8
|{jooqx-jvm8-artifact}

|`11`
|`<= 3.16.23`
|`\<= 3.16.23`
|`^4.2`
|{jooqx-version}-jvm8
|{jooqx-jvm8-artifact}

|`17`
|`~3.17.0`
|`^4.2`
|{jooqx-version}-jvm8
|{jooqx-jvm8-artifact}

|`17`
|`^3.18`
Expand Down
9 changes: 9 additions & 0 deletions docs/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import cloud.playio.gradle.shared.prop

@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.antora)
Expand All @@ -10,11 +12,18 @@ subprojects {
}
}

val semanticVersion = prop(project, "semanticVersion", "")
val jvm8Version = when (semanticVersion) {
"-SNAPSHOT" -> project.version.toString().replace(semanticVersion, "+jvm8$semanticVersion")
else -> "${project.version}+jvm8"
}

documentation {
antora {
asciiAttributes.set(
mapOf(
"jooqx-version" to project.version,
"jooqx-jvm8-artifact" to jvm8Version,
"jooq-version" to libs.jooq.get().version,
"vertx-version" to libs.vertxCore.get().version,
"mutiny-version" to libs.mutinyCore.get().version,
Expand Down

0 comments on commit 45075a3

Please sign in to comment.