add readme n shit
This commit is contained in:
parent
bfc595dc16
commit
c75b3a9a89
3 changed files with 2 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ tasks.withType<Jar> {
|
||||||
// To avoid the duplicate handling strategy error
|
// To avoid the duplicate handling strategy error
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
|
||||||
// To add all of the dependencies otherwise a "NoClassDefFoundError" error
|
// To add all the dependencies otherwise a "NoClassDefFoundError" error
|
||||||
from(sourceSets.main.get().output)
|
from(sourceSets.main.get().output)
|
||||||
|
|
||||||
dependsOn(configurations.runtimeClasspath)
|
dependsOn(configurations.runtimeClasspath)
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ fun main() {
|
||||||
|
|
||||||
str.append("| Roken | ${if (it.floor.floorInfo.smokingAllowed) "✅ Mag" else "❌ Mag niet"} |\n")
|
str.append("| Roken | ${if (it.floor.floorInfo.smokingAllowed) "✅ Mag" else "❌ Mag niet"} |\n")
|
||||||
str.append("| Huisdieren | ${if (it.floor.floorInfo.petsAllowed) "✅ Mogen" else "❌ Mogen niet"} |\n")
|
str.append("| Huisdieren | ${if (it.floor.floorInfo.petsAllowed) "✅ Mogen" else "❌ Mogen niet"} |\n")
|
||||||
str.append("| Reacties | ${it.floor.applicantCount} al gereageerd.")
|
str.append("| Reacties | ${it.floor.applicantCount} al gereageerd. |\n")
|
||||||
|
|
||||||
str.append("\n")
|
str.append("\n")
|
||||||
str.append("### Message: \n\n${it.floor.floorInfo.description ?: "Deze pannekoeken hebben geen bericht achtergelaten"}\n")
|
str.append("### Message: \n\n${it.floor.floorInfo.description ?: "Deze pannekoeken hebben geen bericht achtergelaten"}\n")
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@ package me.koendev
|
||||||
import kotlinx.serialization.SerialName
|
import kotlinx.serialization.SerialName
|
||||||
import kotlinx.serialization.Serializable
|
import kotlinx.serialization.Serializable
|
||||||
import kotlinx.serialization.json.Json
|
import kotlinx.serialization.json.Json
|
||||||
import java.net.http.HttpClient
|
|
||||||
import java.net.http.HttpResponse
|
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Image(
|
data class Image(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue