fix: bug in testing suite + lots of documentation updates

This commit is contained in:
Ryan Brink
2022-01-12 09:15:27 -05:00
committed by GitHub
parent bc380077fb
commit aa21c1219b
24 changed files with 376 additions and 87 deletions

View File

@ -5,5 +5,9 @@ their API authentication with minimal modifications to their existing configurat
# Package io.bkbn.kompendium.auth
Base package that is responsible for setting up required authentication route handlers along with exposing
wrapper methods for each ktor-auth authentication mechanism.
Base package that is responsible for setting up required authentication route handlers along with exposing wrapper
methods for each ktor-auth authentication mechanism.
# Package io.bkbn.kompendium.auth
Houses the available security configurations. At the moment, `Basic`, `JWT`, `ApiKey`, and `OAuth` are supported

View File

@ -1,7 +1,24 @@
plugins {
id("io.bkbn.sourdough.library")
kotlin("jvm")
id("io.bkbn.sourdough.library.jvm") version "0.5.4"
id("io.gitlab.arturbosch.detekt") version "1.19.0"
id("com.adarshr.test-logger") version "3.1.0"
id("org.jetbrains.dokka")
id("maven-publish")
id("java-library")
}
sourdough {
githubOrg.set("bkbnio")
githubRepo.set("kompendium")
libraryName.set("Kompendium Authentication")
libraryDescription.set("Kompendium library to pair with Ktor Auth to provide authorization info to OpenAPI")
licenseName.set("MIT License")
licenseUrl.set("https://mit-license.org")
developerId.set("unredundant")
developerName.set("Ryan Brink")
developerEmail.set("admin@bkbn.io")
}
dependencies {
// IMPLEMENTATION
@ -16,3 +33,11 @@ dependencies {
testImplementation(testFixtures(projects.kompendiumCore))
}
testing {
suites {
named("test", JvmTestSuite::class) {
useJUnitJupiter()
}
}
}