https://kotlinlang.org
Join Slack
I upgraded the Kotest version from <kotest.version>4.6.4</kotest.version> to <kotest....
r

Rajkumar Singh

over 3 years ago
I upgraded the Kotest version from <kotest.version>4.6.4</kotest.version> to <kotest.version>5.1.0</kotest.version> in my maven pom. and now I'm getting the following error. this is a spring boot project with 100% Kotlin.
r
t
  • 2
  • 14
  • 1365
Hello, everyone! What is the best way to generate OpenAPI docs basing on Ktor routings (already writ...
a

aazavoykin

over 2 years ago
Hello, everyone! What is the best way to generate OpenAPI docs basing on Ktor routings (already written)? There`s Ktor OpenAPI Generator (https://github.com/papsign/Ktor-OpenAPI-Generator), but the project seems not very active.
a
c
+3
  • 5
  • 9
  • 1364
Hello, Seeing `w: Kapt currently doesn't support language version 2.0+. Falling back to 1.9.` in lo...
b

Berkeli Alashov

11 months ago
Hello, Seeing
w: Kapt currently doesn't support language version 2.0+. Falling back to 1.9.
in logs means it applies only for kapt right? i.e rest of the project is using kotlin 2.0, but kapt itself is falling back kotlin 1.9? Context: we have upgraded most of our modules to use kotlin 2.0 & ksp, but only 2 modules are using
id("kotlin-kapt")
(because of room-java) I'm guessing we will still be able to use kotlin 2.0 in those modules using kotlin-kapt, right?
πŸ‘Œ 2
b
d
  • 2
  • 1
  • 1364
hi there, I'm trying to run an UI test in shared/commonTest and facing the following NPE. This tests...
k

Kathrin

about 1 year ago
hi there, I'm trying to run an UI test in shared/commonTest and facing the following NPE. This tests works fine when I run it in androidInstrumentedTest. Any ideas?
java.lang.NullPointerException: Cannot invoke "String.toLowerCase(java.util.Locale)" because "android.os.Build.FINGERPRINT" is null
	at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.runTest(ComposeUiTest.android.kt:314)
	at androidx.compose.ui.test.ComposeUiTest_androidKt.runAndroidComposeUiTest(ComposeUiTest.android.kt:114)
	at androidx.compose.ui.test.ComposeUiTest_androidKt.runComposeUiTest(ComposeUiTest.android.kt:61)
	at androidx.compose.ui.test.ComposeUiTest_androidKt.runComposeUiTest$default(ComposeUiTest.android.kt:60)
k
a
+3
  • 5
  • 17
  • 1346
i keep getting "The 'java' plugin has been applied, but it is not compatible with the Android plugin...
y

Yousef

about 3 years ago
i keep getting "The 'java' plugin has been applied, but it is not compatible with the Android plugins."
y
e
+2
  • 4
  • 15
  • 1347
```Key "..." was already used. If you are using LazyColumn/Row please make sure you provide a unique...
z

Zoltan Demant

over 2 years ago
Key "..." was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item.
For crashes like these, is there any work being done to improve the stack traces? I have a billion LazyColumn/Rows in my project, and while the error message explains the issue perfectly, I have zero insight into where it actually happens.
z
a
  • 2
  • 3
  • 1339
If anyone has been looking for a Rich Text editor composable, I ported a Jetpack compose library som...
a

Adam Brown

about 3 years ago
If anyone has been looking for a Rich Text editor composable, I ported a Jetpack compose library someone made to multiplatform compose (w_ith the original authors blessing_) https://github.com/Wavesonics/richtext-compose-multiplatform it's still pretty early, but I'm continuing to work on it.
πŸ‘ 2
❀️ 4
K 5
πŸ‘πŸ» 1
πŸŽ‰ 8
πŸ‘πŸΎ 1
a
j
+2
  • 4
  • 8
  • 1334
Hi, how do I pass environment variables in a Gradle Configuration that runs the `:run` task to the K...
a

Ayfri

about 2 years ago
Hi, how do I pass environment variables in a Gradle Configuration that runs the
:run
task to the Kotlin project of this task ?
a
j
+2
  • 4
  • 21
  • 1331
Does okhttp have a way of limiting the maximum number of connections used? I see <ConnectionPool> al...
a

Aaron Todd

over 2 years ago
Does okhttp have a way of limiting the maximum number of connections used? I see ConnectionPool allows configuring
maxIdleConnections
but says nothing of maximum total connections allowed to be created/active. I also am not seeing an equivalent of a
connectAcquireTimeout
...
a
j
  • 2
  • 23
  • 1327
Is there a way to schedule a task in ktor? I want to sechedule a task for 20 minutes if they are ove...
i

IsaacMart

over 2 years ago
Is there a way to schedule a task in ktor? I want to sechedule a task for 20 minutes if they are over, that task should be marked expired. Am having idea of using delay but not sure if its tye best approach so far.Any one please?
i
r
+3
  • 5
  • 20
  • 1320
Previous202122Next

kotlinlang

A modern programming language that makes developers happier.

Powered by