HoshiKurama / TicketManager

Minecraft plugin designed to implement a ticketing system
GNU Affero General Public License v3.0
16 stars 4 forks source link

Building the plugin #17

Closed Gyztor closed 2 years ago

Gyztor commented 2 years ago

Out of curiosity how do you build the plugin? i would like to add it to my build server so i can autoupdate plugins from it without hitting other servers.

HoshiKurama commented 2 years ago

The Gradle files are included in the project! You can use these with Gradle to build the plugin

Gyztor commented 2 years ago

what command do you use? do you use a gradlew? or something like gradle build or gradle :paper:shadowJar

Gyztor commented 2 years ago

error with gradle :paper:shadowJar

> Task :common:compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':common:compileKotlin'.
> Compilation error. See log for more details

error with gradle build

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':common:compileKotlin'.
> Compilation error. See log for more details
Gyztor commented 2 years ago

got more errors out of it. with gradle build.

> Task :common:compileKotlin FAILED
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (3, 31): Unresolved reference: componentDSL
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (4, 31): Unresolved reference: componentDSL
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (9, 54): Unresolved reference: Database
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (34, 44): Unresolved reference: asyncDispatcher
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (79, 8): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (81, 67): Unresolved reference: getBasicTicketOrNull
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (104, 21): Unresolved reference: BasicTicketImpl
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (104, 80): Unresolved reference: BasicTicketImpl
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (110, 22): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (167, 22): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (182, 76): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (186, 76): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (190, 76): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (194, 76): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (203, 74): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (208, 76): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (212, 76): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (239, 39): Unresolved reference: Database
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (244, 31): Comparison of incompatible enums 'AsyncDatabase.Type' and '[ERROR : <ERROR FUNCTION RETURN TYPE>]' is always unsuccessful
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (244, 62): Unresolved reference: Database
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (274, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (315, 22): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (324, 50): Type mismatch: inferred type is CommandPipeline.NotifyParams but UUID was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (325, 45): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (335, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (343, 79): Type mismatch: inferred type is CommandPipeline.NotifyParams but UUID was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (365, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (373, 26): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (373, 44): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (413, 24): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (424, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (434, 24): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (450, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (466, 30): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (466, 48): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (470, 30): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (470, 48): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (472, 61): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (498, 24): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (504, 26): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (504, 44): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (506, 64): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (537, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (542, 69): Type mismatch: inferred type is Int but Long was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (542, 81): Type mismatch: inferred type is Int but Long was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (542, 93): Type mismatch: inferred type is UUID? but Creator was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (542, 114): No value passed for parameter 'ticketLoc'
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (580, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (594, 26): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (594, 44): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (628, 28): Not enough information to infer type variable R
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (628, 32): Unresolved reference: Database
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (628, 47): Callable reference resolution ambiguity: 
public open var <ERROR PROPERTY>: [ERROR : <ERROR PROPERTY TYPE>] defined in root package
public open fun <ERROR FUNCTION>(): [ERROR : <ERROR FUNCTION RETURN TYPE>] defined in root package
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (664, 44): Unresolved reference: BasicTicketImpl
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (664, 109): Unresolved reference: getTicketLocFromCurLoc
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (665, 14): Unresolved reference: BasicTicketImpl
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (667, 42): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (667, 67): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (669, 57): Unresolved reference: insertTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (708, 9): Unresolved reference: buildComponent
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (712, 17): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (713, 17): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (717, 34): 'this' is not defined in this context
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (717, 34): Type mismatch: inferred type is TMLocale but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (718, 17): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (872, 26): 'this' is not defined in this context
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (872, 26): Type mismatch: inferred type is TMLocale but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (890, 58): Type mismatch: inferred type is Option<UUID?> but Option<Creator>? was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (891, 90): Unresolved reference: searchDatabase
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (897, 33): Unresolved reference: buildComponent
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (902, 23): Type mismatch: inferred type is CoroutineScope but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (905, 29): Overload resolution ambiguity: 
public inline fun <T> Iterable<TypeVariable(T)>.forEach(action: (TypeVariable(T)) -> Unit): Unit defined in kotlin.collections
public inline fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.forEach(action: (Map.Entry<TypeVariable(K), TypeVariable(V)>) -> Unit): Unit defined in kotlin.collections
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (905, 39): Cannot infer a type for this parameter. Please specify it explicitly.
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (918, 42): Overload resolution ambiguity: 
public infix fun String.templated(string: String): TagResolver.Single defined in com.github.hoshikurama.ticketmanager.misc in file Miscellaneous.kt
public infix fun String.templated(component: Component): TagResolver.Single defined in com.github.hoshikurama.ticketmanager.misc in file Miscellaneous.kt
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (925, 34): Type mismatch: inferred type is CoroutineScope but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (929, 25): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (936, 20): Overload resolution ambiguity: 
public abstract fun sendMessage(msg: String): Unit defined in com.github.hoshikurama.ticketmanager.platform.Sender
public abstract fun sendMessage(component: Component): Unit defined in com.github.hoshikurama.ticketmanager.platform.Sender
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (946, 46): Unresolved reference: getOpenTickets
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (958, 46): Unresolved reference: getOpenTicketsAssignedTo
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (969, 46): Unresolved reference: getOpenTicketsNotAssigned
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (994, 33): Unresolved reference: asyncDispatcher
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1008, 36): Unresolved reference: shutdown
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1036, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1038, 22): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1038, 40): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1048, 57): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1097, 63): Type mismatch: inferred type is Option<UUID?> but Option<Creator>? was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1100, 65): Type mismatch: inferred type is Option<UUID?> but Option<Creator>? was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1101, 73): Type mismatch: inferred type is Option<UUID?> but Option<Creator>? was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1110, 86): Unresolved reference: searchDatabase
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1112, 29): Unresolved reference: buildComponent
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1114, 13): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1118, 25): Overload resolution ambiguity: 
public inline fun <T> Iterable<TypeVariable(T)>.forEach(action: (TypeVariable(T)) -> Unit): Unit defined in kotlin.collections
public inline fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.forEach(action: (Map.Entry<TypeVariable(K), TypeVariable(V)>) -> Unit): Unit defined in kotlin.collections
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1119, 32): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1121, 35): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1127, 63): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1128, 61): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1130, 47): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1131, 48): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1132, 50): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1133, 53): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1134, 48): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1135, 36): Overload resolution ambiguity: 
public infix fun String.templated(string: String): TagResolver.Single defined in com.github.hoshikurama.ticketmanager.misc in file Miscellaneous.kt
public infix fun String.templated(component: Component): TagResolver.Single defined in com.github.hoshikurama.ticketmanager.misc in file Miscellaneous.kt
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1139, 106): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1140, 30): Type mismatch: inferred type is CommandPipeline but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1152, 27): Type mismatch: inferred type is CommandPipeline but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1157, 16): Overload resolution ambiguity: 
public abstract fun sendMessage(msg: String): Unit defined in com.github.hoshikurama.ticketmanager.platform.Sender
public abstract fun sendMessage(component: Component): Unit defined in com.github.hoshikurama.ticketmanager.platform.Sender
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1165, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1172, 26): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1172, 44): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1213, 22): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1216, 37): Unresolved reference: mainDispatcher
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1227, 24): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1236, 29): Unresolved reference: buildComponent
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1237, 13): Unresolved reference: text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1238, 17): Unresolved reference: content
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1239, 17): Unresolved reference: color
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1241, 13): Unresolved reference: text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1242, 17): Unresolved reference: content
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1243, 17): Unresolved reference: decorate
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1244, 17): Unresolved reference: color
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1245, 17): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1247, 13): Unresolved reference: text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1248, 17): Unresolved reference: content
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1249, 17): Unresolved reference: color
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1251, 13): Unresolved reference: text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1252, 17): Unresolved reference: content
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1253, 17): Unresolved reference: color
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1254, 17): Unresolved reference: decorate
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1255, 17): Unresolved reference: clickEvent
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1256, 17): Unresolved reference: onHover
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1258, 13): Unresolved reference: text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1259, 17): Unresolved reference: content
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1260, 17): Unresolved reference: color
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1262, 13): Unresolved reference: text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1263, 17): Unresolved reference: content
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1264, 17): Unresolved reference: color
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1268, 16): Overload resolution ambiguity: 
public abstract fun sendMessage(msg: String): Unit defined in com.github.hoshikurama.ticketmanager.platform.Sender
public abstract fun sendMessage(component: Component): Unit defined in com.github.hoshikurama.ticketmanager.platform.Sender
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1274, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1276, 49): Unresolved reference: getFullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1283, 23): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1283, 34): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1283, 68): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1283, 79): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1286, 39): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1287, 31): None of the following functions can be called with the arguments supplied: 
public infix fun String.templated(string: String): TagResolver.Single defined in com.github.hoshikurama.ticketmanager.misc in file Miscellaneous.kt
public infix fun String.templated(component: Component): TagResolver.Single defined in com.github.hoshikurama.ticketmanager.misc in file Miscellaneous.kt
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1287, 41): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1298, 17): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1300, 49): Unresolved reference: getFullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1306, 38): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1310, 20): 'when' expression must be exhaustive, add necessary 'else' branch
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1311, 17): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1311, 46): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1312, 108): None of the following functions can be called with the arguments supplied: 
public infix fun String.templated(string: String): TagResolver.Single defined in com.github.hoshikurama.ticketmanager.misc in file Miscellaneous.kt
public infix fun String.templated(component: Component): TagResolver.Single defined in com.github.hoshikurama.ticketmanager.misc in file Miscellaneous.kt
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1314, 17): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1319, 17): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1322, 17): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1323, 17): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1324, 17): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1379, 17): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1406, 24): No type arguments expected for class Result
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1406, 25): Unresolved reference: BasicTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1410, 50): Unresolved reference: getFullTickets
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1412, 16): Unresolved reference: buildComponent
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1413, 13): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1416, 29): Overload resolution ambiguity: 
public inline fun <T> Iterable<TypeVariable(T)>.forEach(action: (TypeVariable(T)) -> Unit): Unit defined in kotlin.collections
public inline fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.forEach(action: (Map.Entry<TypeVariable(K), TypeVariable(V)>) -> Unit): Unit defined in kotlin.collections
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1416, 39): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1416, 62): Unresolved reference: it
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1419, 21): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1426, 17): Unresolved reference: FullTicket
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1428, 9): Unresolved reference: buildComponent
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1430, 9): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1431, 9): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1432, 9): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1433, 9): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1437, 18): Type mismatch: inferred type is CommandPipeline but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1440, 18): Type mismatch: inferred type is CommandPipeline but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1449, 18): Type mismatch: inferred type is CommandPipeline but kotlin.text.StringBuilder /* = java.lang.StringBuilder */ was expected
e: /var/jenkins_home/workspace/TicketManager/common/src/main/kotlin/com/github/hoshikurama/ticketmanager/platform/CommandPipeline.kt: (1451, 9): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun kotlin.text.StringBuilder /* = java.lang.StringBuilder */.append(vararg value: String?): kotlin.text.StringBuilder /* = java.lang.StringBuilder */ defined in kotlin.text

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':common:compileKotlin'.
> Compilation error. See log for more details
Gyztor commented 2 years ago

Now magically works, the worst kind of fixed.