我在模块中包含了一个要引用的共享模型,但似乎无法导入它
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
字符串
它提供了添加相同的依赖性,我已经添加。
的数据
的
1条答案
按热度按时间1aaf6o9v1#
我不得不在build.grade中添加backendMain文件夹和jvm(“backend”)到共享模块