- Общая библиотека, используемая для ввода
- Эта библиотека
Код: Выделить всё
plugins {
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
// add the local directory for dependencies
flatDir {
dirs("../jars")
}
}
jar.archiveBaseName = 'web'
version = '2.17.5'
dependencies {
def droolsVersion = '10.0.0'
def springVersion = '6.2.7'
implementation name: "jur-common-${version}"
}
jar {
manifest {
attributes(
'Implementation-Title': project.name,
'Implementation-Version': project.version
)
}
}
Код: Выделить всё
Configuration cache state could not be cached: field `__collectionProvider__` of task `:lib:ijDownloadArtifacte5917125-602` of type `IjDownloadTask`: error writing value of type 'org.gradle.api.internal.provider.DefaultProperty'
> Could not resolve all files for configuration ':lib:downloadArtifact_9186dabc-fbae-4bac-9932-9e022cef8f05'.
> Could not find :jur-common-2.17.5:.
Searched in the following locations:
- file:/C:/Users/Thom.Hehl/IdeaProjects/web-trunk/web/jars/jur-common-2.17.5-sources.jar
Required by:
project :lib
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Код: Выделить всё
Directory: C:\Users\Thom.Hehl\IdeaProjects\web-Fed-trunk\web\jars
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 6/17/2025 12:35 PM 1749777 catalina.jar
-a---- 2/9/2026 2:07 PM 583001 jur-common-2.17.5.jar
Подробнее здесь: https://stackoverflow.com/questions/798 ... n-intellij
Мобильная версия