https://kotlinlang.org
Join Slack
```w: Kotlin Multiplatform <-> Android Gradle Plugin compatibility issue: The applied Android Gradle...
j

Joel Denke

almost 2 years ago
w: Kotlin Multiplatform <-> Android Gradle Plugin compatibility issue:
The applied Android Gradle Plugin version (8.3.0) is higher 
than the maximum known to the Kotlin Gradle Plugin.
Tooling stability in such configuration isn't tested, please report encountered issues to <https://kotl.in/issue>"

Minimum supported Android Gradle Plugin version: 7.0
Maximum tested Android Gradle Plugin version: 8.2

To suppress this message add 'kotlin.mpp.androidGradlePluginCompatibility.nowarn=true' to your gradle.properties
Really, how can it be that Kotlin plugin is not supporting version of AGP that is 8.3? I am using Kotlin 1.9.23, Gradle 8.6, AGP 8.3, Java 17.
j
g
+2
  • 4
  • 4
  • 1418
How do you guys handle errors in KMM? For example, I have this use case ```interface SignInUseCase ...
i

Igor Milakovic

almost 4 years ago
How do you guys handle errors in KMM? For example, I have this use case
interface SignInUseCase {
    @Throws(Exception::class)
    suspend fun execute(email: String, password: String): Whatever
}
When I call this from iOS, I get
signInUseCase.execute(email: email, password: password) { whatever, error in
    // Handle completion
}
Is there a way to have a custom error here, instead of NSError? Ideally, I'd like to have maybe a class or data class
data class Error(
    val title: String
    val detail: String
}
i
t
g
  • 3
  • 28
  • 1414
We (still) use slf4j/logback in our Kotlin code. Currently, we define a `val logger: Logger = Logger...
n

nkiesel

over 4 years ago
We (still) use slf4j/logback in our Kotlin code. Currently, we define a
val logger: Logger = LoggerFactory.getLogger(Foo::class.java)
in the companion object of a class
Foo
. I remember a discussion about defining this as a class property instead of as a companion object property (which would then allow to use
val logger: Logger = LoggerFactory.getLogger(this::class.java)
) but I can't find it anymore. What is current best practice here ?
n
n
+4
  • 6
  • 61
  • 1406
Exposed supports Jsonb types with postgres database?
w

Wishnuprathikantam

over 4 years ago
Exposed supports Jsonb types with postgres database?
w
j
  • 2
  • 2
  • 1404
I always get this error: `The Hilt Android Gradle plugin is applied but no com.google.dagger:hilt-an...
a

Akram Bensalem

over 4 years ago
I always get this error:
The Hilt Android Gradle plugin is applied but no com.google.dagger:hilt-android dependency was found.
I wan't to use Hilt with Jetpack Compose but always I got this error
a
s
f
  • 3
  • 32
  • 1400
Hey, everyone What should I “git ignore” in a kmm project? is there a .gitignore template for it?
h

henrikhorbovyi

over 3 years ago
Hey, everyone What should I “git ignore” in a kmm project? is there a .gitignore template for it?
➕ 1
h
l
m
  • 3
  • 7
  • 1398
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

about 3 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
  • 1393
Is there any way to set min window size?
a

Akram Bensalem

about 4 years ago
Is there any way to set min window size?
a
s
  • 2
  • 3
  • 1385
Does anyone know why the Kotlin compiler does not work with JDK 20, even with the Maven extension in...
g

Gavin Ray

about 3 years ago
Does anyone know why the Kotlin compiler does not work with JDK 20, even with the Maven extension instead of Gradle? 🤔
g
s
  • 2
  • 4
  • 1381
Hello guys, i triyng use androidx.compose.material:material-icons-extended:1.6.1 on compose multipl...
g

Guilherme Germano Silva

almost 2 years ago
Hello guys, i triyng use androidx.compose.materialmaterial icons extended1.6.1 on compose multiplataform, but i facing this error
:composeApp:iosArm64Main: Could not resolve androidx.compose.material:material-icons-extended:1.6.1.
Someon can help me please?
g
j
s
  • 3
  • 10
  • 1379
Previous222324Next

kotlinlang

A modern programming language that makes developers happier.

Powered by