Closed shortxmas closed 5 months ago
In my compose desktop app, after adding the implementation("com.ricoh360.thetaclient:theta-client:1.5.0") to dependencies and syncing it I get a "Could not resolve: com.ricoh360.thetaclient:theta-client:1.5.0" error.
This is my build.gradle.kts file
import org.jetbrains.compose.desktop.application.dsl.TargetFormat plugins { kotlin("multiplatform") id("org.jetbrains.compose") } group = "com.example" version = "1.0-SNAPSHOT" repositories { google() mavenCentral() maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } kotlin { jvm { jvmToolchain(11) withJava() } sourceSets { val jvmMain by getting { dependencies { implementation(compose.desktop.currentOs) implementation("me.sebj:time:0.4.8") implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.1") implementation("com.ricoh360.thetaclient:theta-client:1.5.0") } } val jvmTest by getting } } compose.desktop { application { mainClass = "MainKt" nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "demoapp" packageVersion = "1.0.0" } } } )
In my compose desktop app, after adding the implementation("com.ricoh360.thetaclient:theta-client:1.5.0") to dependencies and syncing it I get a "Could not resolve: com.ricoh360.thetaclient:theta-client:1.5.0" error.
This is my build.gradle.kts file