I added the sentenceimplementation 'io.hypersistence:hypersistence-utils-hibernate-62:3.4.2' to build.gradle, then executed the ./gradlew refreshVersionsMigrate --mode=VersionsPropertiesAndPlaceholdersInCatalog, and finally generated implementation libs.hypersistence.utils.hibernate.62 in build.gradle and hypersistence-utils-hibernate-62 = "io.hypersistence:hypersistence-utils-hibernate-62: _" in libs.versions.toml, but when executing gradle sync, gradle reports an error
A problem occurred evaluating root project 'example'.
> Cannot convert the provided notation to an object of type Dependency: org.gradle.accessors.dm.LibrariesForLibs$HypersistenceUtilsHibernateLibraryAccessors@c123595.
The following types/formats are supported:
- String or CharSequence values, for example 'org.gradle:gradle-core:1.0'.
- Maps, for example [group: 'org.gradle', name: 'gradle-core', version: '1.0'].
- FileCollections, for example files('some.jar', 'someOther.jar').
- Projects, for example project(':some:project:path').
- ClassPathNotation, for example gradleApi().
🐛 Describe the bug
I added the sentence
implementation 'io.hypersistence:hypersistence-utils-hibernate-62:3.4.2'
tobuild.gradle
, then executed the./gradlew refreshVersionsMigrate --mode=VersionsPropertiesAndPlaceholdersInCatalog
, and finally generatedimplementation libs.hypersistence.utils.hibernate.62
inbuild.gradle
andhypersistence-utils-hibernate-62 = "io.hypersistence:hypersistence-utils-hibernate-62: _"
inlibs.versions.toml
, but when executinggradle sync
, gradle reports an error⚠️ Current behavior
gradle can not sync.
✅ Expected behavior
gradle sync success
💣 Steps to reproduce
implementation 'io.hypersistence:hypersistence-utils-hibernate-62:3.4.2'
./gradlew refreshVersionsMigrate --mode=VersionsPropertiesAndPlaceholdersInCatalog