Closed Robilko closed 1 year ago
hey, try to add:
dependencies {
constraints {
implementation(project(":kotlin-sdklib-jdk7"))
implementation(project(":kotlin-sdklib-jdk8"))
}
}
or:
implementation('com.applandeo:material-calendar-view:1.9.0-rc03', {
exclude group: 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.21, module: 'jetified-kotlin-stdlib-jdk8-1.7.21'
})
to your gradle file.
Hello! I don't know why, but this solution helped me : I added this code to settings.gradle file
pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() jcenter() } }
Such code generated in new projects by default, but I was not have it in my current project.
The project stopped building. with the latest version of the library.
Hello dear! Two weeks ago I connected your calendar library to my project. I figured it out pretty well and set up the calendar to fit my needs. Used the latest version of the library. And today, suddenly, the project stopped building, referring to the error of duplicating classes from the kotlin stdLib library of versions 1.8 and those that I have connected. I've tried different gradle versions but the project builds only if I downgrade your library to 1.7. But then some of the methods from the latest version do not work, which I really need for customization. Please help me
Duplicate class kotlin.time.jdk8.DurationConversionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.7.21 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.21)