File tree 3 files changed +22
-3
lines changed
src/main/kotlin/de/jensklingenberg/htmltocfw/ideaplugin
3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1
1
import org.jetbrains.compose.compose
2
+ fun properties (key : String ) = project.findProperty(key).toString()
3
+
2
4
3
5
plugins {
4
6
id(" org.jetbrains.intellij" ) version " 1.3.0"
@@ -9,7 +11,7 @@ plugins {
9
11
}
10
12
11
13
group = " de.jensklingenberg"
12
- version = " 1.0.1 "
14
+ version = " 1.0.2 "
13
15
14
16
repositories {
15
17
mavenCentral()
@@ -25,7 +27,7 @@ dependencies {
25
27
26
28
// See https://github.com/JetBrains/gradle-intellij-plugin/
27
29
intellij {
28
- version.set(" 2021.2 " )
30
+ version.set(properties( " platformVersion " ) )
29
31
}
30
32
31
33
tasks{
@@ -37,5 +39,12 @@ tasks{
37
39
kotlinOptions.jvmTarget = " 11"
38
40
}
39
41
42
+ patchPluginXml {
43
+ version.set(properties(" pluginVersion" ))
44
+ sinceBuild.set(properties(" pluginSinceBuild" ))
45
+ untilBuild.set(properties(" pluginUntilBuild" ))
46
+
47
+
48
+ }
40
49
}
41
50
Original file line number Diff line number Diff line change
1
+ kotlin.code.style =official
2
+ kotlin.version =1.6.10
3
+ compose.version =1.0.1-rc2
4
+ platformVersion = 2021.2.3
5
+
6
+ # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
7
+ # for insight into build numbers and IntelliJ Platform versions.
8
+ pluginSinceBuild = 203
9
+ pluginUntilBuild = 213.*
10
+ pluginVersion = 1.0.2
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class ConvertHtmlAction : DumbAwareAction() {
59
59
Surface (modifier = Modifier .fillMaxSize()) {
60
60
Column {
61
61
val textState = remember { mutableStateOf(TextFieldValue ()) }
62
- Text (" Drop your HTML into the textfield and press generate" )
62
+ Text (" Paste your HTML into the textfield and press generate" )
63
63
TextField (
64
64
value = textState.value,
65
65
onValueChange = { textState.value = it }
You can’t perform that action at this time.
0 commit comments