我在模块中包含了一个要引用的共享模型,但我似乎无法导入它
plugins {
kotlin("jvm") version "1.8.20"
kotlin("plugin.allopen") version "1.8.20"
id("io.quarkus")
}
repositories {
mavenCentral()
mavenLocal()
}
val quarkusPlatformGroupId: String by project
val quarkusPlatformArtifactId: String by project
val quarkusPlatformVersion: String by project
dependencies {
//removing configuration = configurations.default.name causes errors that's why it's there
implementation(project(path = ":shared", configuration = configurations.default.name))
//...other deps
}
//..other
它提供了添加我已经添加的相同依赖性。