File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/org/axonframework/intellij/ide/plugin/usage Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ class AxonVersionService(val project: Project) {
3434
3535 private val versionRegex = Regex (" (\\ d+)\\ .(\\ d+)\\ .(\\ d+)(.*)" )
3636
37-
3837 init {
3938 // Listen to root changes (meaning library changes) and recheck
4039 project.messageBus.connect().subscribe(ProjectTopics .PROJECT_ROOTS , object : ModuleRootListener {
@@ -124,7 +123,8 @@ class AxonVersionService(val project: Project) {
124123 if (useCache) {
125124 return enabled
126125 }
127- return getAxonVersions().outdated().isEmpty()
126+ val versions = getAxonVersions()
127+ return versions.outdated().isEmpty() && versions.experimental().isEmpty()
128128 }
129129
130130 private fun List<AxonDependencyVersion>.outdated () = filter { it.dependency.checkVersion && it.major < 4 }
You can’t perform that action at this time.
0 commit comments