Compare commits
No commits in common. "637503a0b242d60dd3ed8a5bc7d74e941a91623e" and "e61a9bddebc30771d3f08e316da05f76ae60f92f" have entirely different histories.
637503a0b2
...
e61a9bddeb
4 changed files with 4 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
||||||
[](https://opensource.org/licenses/BSD-3-Clause)
|
[](https://opensource.org/licenses/BSD-3-Clause)
|
||||||
[](https://kotlinlang.org/)
|
[](https://kotlinlang.org/)
|
||||||
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/jokeapi/)
|
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/jokeapi/)
|
||||||
[](https://github.com/ethauvin/jokeapi/releases/latest)
|
[](https://github.com/ethauvin/jokeapi/releases/latest)
|
||||||
[](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/jokeapi)
|
[](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/jokeapi)
|
||||||
|
|
|
@ -10,7 +10,7 @@ plugins {
|
||||||
id("maven-publish")
|
id("maven-publish")
|
||||||
id("org.jetbrains.dokka") version "1.7.20"
|
id("org.jetbrains.dokka") version "1.7.20"
|
||||||
id("org.jetbrains.kotlinx.kover") version "0.6.1"
|
id("org.jetbrains.kotlinx.kover") version "0.6.1"
|
||||||
id("org.sonarqube") version "4.0.0.2929"
|
id("org.sonarqube") version "3.5.0.2730"
|
||||||
id("signing")
|
id("signing")
|
||||||
kotlin("jvm") version "1.8.10"
|
kotlin("jvm") version "1.8.10"
|
||||||
}
|
}
|
||||||
|
@ -77,14 +77,6 @@ tasks {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
|
|
||||||
this.jvmTarget = java.targetCompatibility.toString()
|
|
||||||
}
|
|
||||||
|
|
||||||
withType<io.gitlab.arturbosch.detekt.DetektCreateBaselineTask>().configureEach {
|
|
||||||
this.jvmTarget = java.targetCompatibility.toString()
|
|
||||||
}
|
|
||||||
|
|
||||||
withType<GenerateMavenPom> {
|
withType<GenerateMavenPom> {
|
||||||
destination = file("$projectDir/pom.xml")
|
destination = file("$projectDir/pom.xml")
|
||||||
}
|
}
|
||||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
@ -55,6 +55,6 @@ internal class JokeUtilTest {
|
||||||
fun `Validate Authentication Header`() {
|
fun `Validate Authentication Header`() {
|
||||||
val token = "AUTH-TOKEN"
|
val token = "AUTH-TOKEN"
|
||||||
val body = fetchUrl("https://postman-echo.com/get", token)
|
val body = fetchUrl("https://postman-echo.com/get", token)
|
||||||
assertThat(body, "body").contains("\"authentication\": \"$token\"")
|
assertThat(body, "body").contains("\"authentication\":\"$token\"")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue