Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed Aug 28, 2024
1 parent 2d52590 commit deba1e0
Show file tree
Hide file tree
Showing 64 changed files with 4,874 additions and 141 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches:
- main
paths:
- 'docs/dokka/**'

jobs:
build:
name: Build API Docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: docs/dokka/
deploy:
name: Deploy API Docs
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
uses: actions/deploy-pages@v4
42 changes: 24 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,42 +1,48 @@
plugins {
`java-library`
`maven-publish`
kotlin("jvm") version "1.9.20"
kotlin("jvm") version "2.0.20"
id("org.jetbrains.dokka") version "1.9.20"
}

group = "org.veupathdb.lib"
version = "3.1.1"
version = "3.2.0"

repositories {
mavenCentral()
}

dependencies {
implementation(kotlin("stdlib"))

api("com.fasterxml.jackson.core:jackson-databind:2.15.3")
api("com.fasterxml.jackson.datatype:jackson-datatype-json-org:2.15.3")
api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.3")
api("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.15.3")
api("com.fasterxml.jackson.module:jackson-module-kotlin:2.15.3")
api("com.fasterxml.jackson.module:jackson-module-parameter-names:2.15.3")
api(platform("com.fasterxml.jackson:jackson-bom:2.17.2"))
api("com.fasterxml.jackson.core:jackson-databind")
api("com.fasterxml.jackson.datatype:jackson-datatype-json-org")
api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
api("com.fasterxml.jackson.datatype:jackson-datatype-jdk8")
api("com.fasterxml.jackson.module:jackson-module-kotlin")
api("com.fasterxml.jackson.module:jackson-module-parameter-names")
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
languageVersion.set(JavaLanguageVersion.of(21))
vendor.set(JvmVendorSpec.AMAZON)
}

withSourcesJar()
withJavadocJar()
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "1.8"
kotlin {
jvmToolchain(21)

compilerOptions {
optIn = listOf("kotlin.contracts.ExperimentalContracts")
}
}

java {
withSourcesJar()
withJavadocJar()
tasks.dokkaHtml {
val featVersion = (version as String).substring(0, (version as String).lastIndexOf('.')) + ".0"
outputDirectory.set(file("docs/dokka/v$featVersion"))
}

publishing {
Expand All @@ -62,7 +68,7 @@ publishing {
developer {
id.set("epharper")
name.set("Elizabeth Paige Harper")
email.set("epharper@upenn.edu")
email.set("foxcapades.io@gmail.com")
url.set("https://github.com/foxcapades")
organization.set("VEuPathDB")
}
Expand Down
8 changes: 8 additions & 0 deletions docs/dokka/v3.2.0/images/anchor-copy-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/arrow_down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/dokka/v3.2.0/images/burger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/copy-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/copy-successful-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/footer-go-to-link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/dokka/v3.2.0/images/go-to-top-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/dokka/v3.2.0/images/homepage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions docs/dokka/v3.2.0/images/logo-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/abstract-class-kotlin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/abstract-class.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/annotation-kotlin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/annotation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/class-kotlin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/class.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/enum-kotlin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/enum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/exception-class.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/field-value.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/field-variable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/dokka/v3.2.0/images/nav-icons/function.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit deba1e0

Please sign in to comment.