ricohapi / theta-client

A library to control RICOH THETA
MIT License
15 stars 11 forks source link

could not resolve implementation("com.ricoh360.thetaclient:theta-client:1.5.0") #51

Closed shortxmas closed 3 months ago

shortxmas commented 10 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.

3d3ed9b4214b8676a65e7f457ea75950

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"
          }
      }
  }
  )