Однако запуск .\gradlew завершается неудачно с этой трассировкой стека:
Код: Выделить всё
> Task :run
java.lang.module.FindException: Module msal4j.persistence.extension not found
> Task :run FAILED
FAILURE: Build failed with an exception.
Код: Выделить всё
plugins {
id("java")
id("application")
}
group = "com.example"
version = "0.1"
repositories {
mavenCentral()
}
dependencies {
implementation(platform("com.azure:azure-sdk-bom:1.2.28"))
implementation("com.azure:azure-identity")
implementation("com.azure:azure-core")
}
application {
mainClass = "com.example.Main"
mainModule = "com.example"
}
Код: Выделить всё
module com.example {
requires java.base;
requires com.azure.identity;
exports com.example;
}
Подробнее здесь: https://stackoverflow.com/questions/791 ... va-project