do I need to do anything special to use a gradle b...
# amper
c
do I need to do anything special to use a gradle build via
includeBuild
in the settings file?
a
Hi, Christoph! There should be no special action. Amber will discover Gradle configuration according to Gradle-Amper interop https://github.com/JetBrains/amper/blob/0.2/docs/Documentation.md#gradle-interop
c
in my project it finds the dependency, but then the compile fails because it does not find the classes.
a
What is the error?
c
the kotlin compiler says “unresolved reference”, just like when i would not add the dependency at all
a
Where and how do you add the dependency?
c
this is my settings file:
Copy code
pluginManagement {
  repositories {
    mavenCentral()
    google()
    gradlePluginPortal()
    maven("<https://maven.pkg.jetbrains.space/public/p/amper/amper>")
    maven("<https://www.jetbrains.com/intellij-repository/releases>")
    maven("<https://packages.jetbrains.team/maven/p/ij/intellij-dependencies>")
  }
}

plugins {
  id("org.jetbrains.amper.settings.plugin").version("0.2.0")
}

includeBuild("../restaurant")
and this is my `module.yaml`:
Copy code
product:
  type: lib
  platforms:
    - jvm
dependencies:
  - com.christophsturm.restaurant:restaurant-client:0.0.10
  - dev.failgood:failgood:0.9.1

settings:
  kotlin:
    version: 1.9
    serialization: json
(its in a sub directory of my project because its going to be a multi module project)
oh nm, I’m sorry i added the wrong dep
🙌 1