Код: Выделить всё
multiproject\
-javafx\
--build.gradle
--settings.gradle
-module1\
--build.gradle
-module2\
--build.gradle
Код: Выделить всё
A problem occurred evaluating root project 'javafx'.
> Project with path ':module2' could not be found in root project 'javafx'.
Код: Выделить всё
/javafx/build.gradle
Код: Выделить всё
dependencies {
implementation project(":module2")
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
Код: Выделить всё
rootProject.name = 'multiproject'
include 'module1', 'javafx'
include 'module2'
И почему я не упаковываю модули в maven или gradle, что я все еще разрабатываю модули, принадлежащие проекту.
Извините за мой плохой английский, спасибо!
Подробнее здесь: https://stackoverflow.com/questions/793 ... ect-javafx