-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d727d6e
commit cac5b9d
Showing
210 changed files
with
13,317 additions
and
1,400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gradle | ||
directory: "/" | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/.idea/ | ||
/.gradle/ | ||
/build/ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,98 @@ | ||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget | ||
|
||
plugins { | ||
`maven-publish` | ||
kotlin("jvm") version "2.0.20" | ||
kotlin("jvm") version "2.0.21" | ||
id("org.jetbrains.dokka") version "1.9.20" | ||
} | ||
|
||
group = "org.veupathdb.lib" | ||
version = "3.2.1" | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
version = "4.0.0" | ||
|
||
dependencies { | ||
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") | ||
allprojects { | ||
repositories { | ||
mavenCentral() | ||
} | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
configure(listOf( | ||
project(":lib:jackson-singleton-common"), | ||
project(":lib:jackson-singleton-json"), | ||
project(":lib:jackson-singleton-yaml"), | ||
)) { | ||
apply(plugin = "org.jetbrains.kotlin.jvm") | ||
apply(plugin = "org.jetbrains.dokka") | ||
apply(plugin = "maven-publish") | ||
|
||
kotlin { | ||
jvmToolchain { | ||
languageVersion.set(JavaLanguageVersion.of(21)) | ||
vendor.set(JvmVendorSpec.AMAZON) | ||
kotlin { | ||
compilerOptions { | ||
jvmTarget.set(JvmTarget.JVM_21) | ||
optIn = listOf("kotlin.contracts.ExperimentalContracts") | ||
} | ||
} | ||
|
||
compilerOptions { | ||
optIn = listOf("kotlin.contracts.ExperimentalContracts") | ||
java { | ||
sourceCompatibility = JavaVersion.VERSION_21 | ||
targetCompatibility = JavaVersion.VERSION_21 | ||
|
||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
} | ||
|
||
tasks.dokkaHtml { | ||
val featVersion = (version as String).substring(0, (version as String).lastIndexOf('.')) + ".0" | ||
outputDirectory.set(file("docs/dokka/v$featVersion")) | ||
} | ||
tasks.dokkaHtml { | ||
val featVersion = (rootProject.version as String).substring(0, (rootProject.version as String).lastIndexOf('.')) + ".0" | ||
outputDirectory.set(file("${rootDir}/docs/dokka/${this@configure.name}/v${featVersion}")) | ||
} | ||
|
||
publishing { | ||
repositories { | ||
maven { | ||
name = "GitHub" | ||
url = uri("https://maven.pkg.github.com/veupathdb/lib-jackson-singleton") | ||
credentials { | ||
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME") | ||
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN") | ||
publishing { | ||
repositories { | ||
maven { | ||
name = "GitHub" | ||
url = uri("https://maven.pkg.github.com/veupathdb/lib-jackson-singleton") | ||
credentials { | ||
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME") | ||
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN") | ||
} | ||
} | ||
} | ||
} | ||
|
||
publications { | ||
create<MavenPublication>("gpr") { | ||
from(components["java"]) | ||
pom { | ||
name.set("JaxRS Container Core Library") | ||
description.set("Provides base methods, endpoints, server setup, and utilities for use in containerized VEuPathDB JaxRS based applications.") | ||
url.set("https://github.com/VEuPathDB/lib-jackson-singleton") | ||
developers { | ||
developer { | ||
id.set("epharper") | ||
name.set("Elizabeth Paige Harper") | ||
email.set("foxcapades.io@gmail.com") | ||
url.set("https://github.com/foxcapades") | ||
organization.set("VEuPathDB") | ||
} | ||
} | ||
scm { | ||
connection.set("scm:git:git://github.com/VEuPathDB/lib-jackson-singleton.git") | ||
developerConnection.set("scm:git:ssh://github.com/VEuPathDB/lib-jackson-singleton.git") | ||
publications { | ||
create<MavenPublication>("gpr") { | ||
from(components["java"]) | ||
groupId = rootProject.group.toString() | ||
version = rootProject.version.toString() | ||
|
||
pom { | ||
name.set("JaxRS Container Core Library") | ||
description.set("Provides base methods, endpoints, server setup, and utilities for use in containerized VEuPathDB JaxRS based applications.") | ||
url.set("https://github.com/VEuPathDB/lib-jackson-singleton") | ||
developers { | ||
developer { | ||
id.set("epharper") | ||
name.set("Elizabeth Paige Harper") | ||
email.set("foxcapades.io@gmail.com") | ||
url.set("https://github.com/foxcapades") | ||
organization.set("VEuPathDB") | ||
} | ||
} | ||
scm { | ||
connection.set("scm:git:git://github.com/VEuPathDB/lib-jackson-singleton.git") | ||
developerConnection.set("scm:git:ssh://github.com/VEuPathDB/lib-jackson-singleton.git") | ||
url.set("https://github.com/VEuPathDB/lib-jackson-singleton") | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
kotlin { | ||
compilerOptions { | ||
jvmTarget.set(JvmTarget.JVM_21) | ||
} | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_21 | ||
targetCompatibility = JavaVersion.VERSION_21 | ||
} |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
<!DOCTYPE html> | ||
<html class="no-js"> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> | ||
<title>jackson-singleton-common</title> | ||
<link href="images/logo-icon.svg" rel="icon" type="image/svg"> | ||
<script>var pathToRoot = "";</script> | ||
<script>document.documentElement.classList.replace("no-js","js");</script> | ||
<script>const storage = localStorage.getItem("dokka-dark-mode") | ||
if (storage == null) { | ||
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches | ||
if (osDarkSchemePreferred === true) { | ||
document.getElementsByTagName("html")[0].classList.add("theme-dark") | ||
} | ||
} else { | ||
const savedDarkMode = JSON.parse(storage) | ||
if(savedDarkMode === true) { | ||
document.getElementsByTagName("html")[0].classList.add("theme-dark") | ||
} | ||
} | ||
</script> | ||
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async="async"></script> | ||
<script type="text/javascript" src="scripts/sourceset_dependencies.js" async="async"></script> | ||
<link href="styles/style.css" rel="Stylesheet"> | ||
<link href="styles/main.css" rel="Stylesheet"> | ||
<link href="styles/prism.css" rel="Stylesheet"> | ||
<link href="styles/logo-styles.css" rel="Stylesheet"> | ||
<link href="styles/font-jb-sans-auto.css" rel="Stylesheet"> | ||
<script type="text/javascript" src="scripts/clipboard.js" async="async"></script> | ||
<script type="text/javascript" src="scripts/navigation-loader.js" async="async"></script> | ||
<script type="text/javascript" src="scripts/platform-content-handler.js" async="async"></script> | ||
<script type="text/javascript" src="scripts/main.js" defer="defer"></script> | ||
<script type="text/javascript" src="scripts/prism.js" async="async"></script> | ||
<script type="text/javascript" src="scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script> | ||
</head> | ||
<body> | ||
<div class="root"> | ||
<nav class="navigation" id="navigation-wrapper"> | ||
<div class="navigation--inner"> | ||
<div class="navigation-title"> | ||
<button class="menu-toggle" id="menu-toggle" type="button">toggle menu</button> | ||
<div class="library-name"> | ||
<a class="library-name--link" href="index.html"> | ||
jackson-singleton-common | ||
</a> | ||
</div> | ||
<div class="library-version"> | ||
</div> | ||
</div> | ||
<div class="filter-section" id="filter-section"> | ||
<button class="platform-tag platform-selector jvm-like" data-active="" data-filter=":lib:jackson-singleton-common:dokkaHtml/main">jvm</button> | ||
</div> | ||
</div> | ||
<div class="navigation-controls"> | ||
<button class="navigation-controls--btn navigation-controls--theme" id="theme-toggle-button" type="button">switch theme</button> | ||
<div class="navigation-controls--btn navigation-controls--search" id="searchBar" role="button">search in API</div> | ||
</div> | ||
</nav> | ||
<div id="container"> | ||
<div class="sidebar" id="leftColumn"> | ||
<div class="sidebar--inner" id="sideMenu"></div> | ||
</div> | ||
<div id="main"> | ||
<div class="main-content" id="content" pageIds="jackson-singleton-common::////PointingToDeclaration//-717453405"> | ||
<div class="breadcrumbs"></div> | ||
<div class="cover "> | ||
<h1 class="cover"><span><span>jackson-singleton-common</span></span></h1> | ||
</div> | ||
<h2 class="">Packages</h2> | ||
<div class="table"><a data-name="-656015584%2FPackages%2F-717453405" anchor-label="org.veupathdb.lib.jackson.common" id="-656015584%2FPackages%2F-717453405" data-filterable-set=":lib:jackson-singleton-common:dokkaHtml/main"></a> | ||
<div class="table-row" data-filterable-current=":lib:jackson-singleton-common:dokkaHtml/main" data-filterable-set=":lib:jackson-singleton-common:dokkaHtml/main"> | ||
<div> | ||
<div class="main-subrow "> | ||
<div class=""><span class="inline-flex"> | ||
<div><a href="jackson-singleton-common/org.veupathdb.lib.jackson.common/index.html">org.veupathdb.lib.jackson.common</a></div> | ||
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-656015584%2FPackages%2F-717453405"></span> | ||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div> | ||
</span></span></div> | ||
<div class="pull-right"> | ||
<div class="platform-tags no-gutters"> | ||
<div class="platform-tag jvm-like">jvm</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="footer"> | ||
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span | ||
class="pull-right"><span>Generated by </span><a | ||
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
80 changes: 80 additions & 0 deletions
80
...n-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-if-n-n.html
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.