Skip to content

Commit

Permalink
update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
makeevrserg committed Jan 8, 2024
1 parent e9fc909 commit 947f343
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
dependencies {
classpath("ru.astrainteractive.gradleplugin:convention:0.3.2")
classpath("ru.astrainteractive.gradleplugin:minecraft:0.3.2")
classpath("ru.astrainteractive.gradleplugin:convention:0.5.1")
classpath("ru.astrainteractive.gradleplugin:minecraft:0.5.1")
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package com.makeevrserg.mvikotlin.intellij.data

import com.makeevrserg.mvikotlin.intellij.data.model.BootstrapperType
import com.makeevrserg.mvikotlin.intellij.data.model.ComponentChildType
import com.makeevrserg.mvikotlin.intellij.storage.StorageValue

interface StorageApi {
val useKlibsStorageValue: StorageValue<Boolean>
val createStorePackageStorageValue: StorageValue<Boolean>
val decomposeMviIntegrationStorageValue: StorageValue<Boolean>
val createBootstrapperStorageValue: StorageValue<BootstrapperType>
val componentChildTypeStorageValue: StorageValue<ComponentChildType>
fun createNameStorageValue(): StorageValue<String>
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.makeevrserg.mvikotlin.intellij.data.impl
import com.intellij.ide.util.PropertiesComponent
import com.makeevrserg.mvikotlin.intellij.data.StorageApi
import com.makeevrserg.mvikotlin.intellij.data.model.BootstrapperType
import com.makeevrserg.mvikotlin.intellij.data.model.ComponentChildType
import com.makeevrserg.mvikotlin.intellij.storage.StorageValue
import com.makeevrserg.mvikotlin.intellij.storage.impl.BooleanStorageValue
import com.makeevrserg.mvikotlin.intellij.storage.impl.InMemoryStorageValue
Expand Down Expand Up @@ -34,6 +35,11 @@ class StorageApiImpl(private val propertiesComponent: PropertiesComponent) : Sto
key = "CREATE_BOOTSTRAPPER",
initial = BootstrapperType.NONE
)
override val componentChildTypeStorageValue: StorageValue<ComponentChildType>
get() = InMemoryStorageValue(
key = "COMPONENT_CHILD_TYPE",
initial = ComponentChildType.NONE
)

override fun createNameStorageValue(): StorageValue<String> = InMemoryStorageValue(
key = "NAME",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.makeevrserg.mvikotlin.intellij.data.model

enum class ComponentChildType {
NONE, SLOT, STACK
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ makeevrserg.java.ktarget=17
# Project
makeevrserg.project.name=MVIKotlin-IntelliJ-Plugin
makeevrserg.project.group=com.makeevrserg.mvikotlin.intellij.plugin
makeevrserg.project.version.string=0.2.4
makeevrserg.project.version.string=0.2.5
makeevrserg.project.description=IntelliJ Plugin for MVIKotlin/Decompose library
makeevrserg.project.developers=makeevrserg|Makeev Roman|[email protected]
makeevrserg.project.url=https://empireprojekt.ru
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
# Kotlin
kotlin-version = "1.9.0"
kotlin-coroutines = "1.6.4"
kotlin-version = "1.9.21"
kotlin-coroutines = "1.7.3"

[libraries]
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin-version" }
Expand All @@ -11,4 +11,4 @@ kotlin-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-s
# Kotlin
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin-version" }
kotlin-gradle = { id = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin-version" }
intellij = { id = "org.jetbrains.intellij", version.strictly = "1.15.0" }
intellij = { id = "org.jetbrains.intellij", version.strictly = "1.16.1" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tasks {

patchPluginXml {
sinceBuild.set("223")
untilBuild.set("232.*")
untilBuild.set("233.*")
}

signPlugin {
Expand Down

0 comments on commit 947f343

Please sign in to comment.