File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed
src/main/kotlin/de/jensklingenberg/htmltocfw/ideaplugin Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 11import org.jetbrains.compose.compose
2+ fun properties (key : String ) = project.findProperty(key).toString()
3+
24
35plugins {
46 id(" org.jetbrains.intellij" ) version " 1.3.0"
@@ -9,7 +11,7 @@ plugins {
911}
1012
1113group = " de.jensklingenberg"
12- version = " 1.0.1 "
14+ version = " 1.0.2 "
1315
1416repositories {
1517 mavenCentral()
@@ -25,7 +27,7 @@ dependencies {
2527
2628// See https://github.com/JetBrains/gradle-intellij-plugin/
2729intellij {
28- version.set(" 2021.2 " )
30+ version.set(properties( " platformVersion " ) )
2931}
3032
3133tasks{
@@ -37,5 +39,12 @@ tasks{
3739 kotlinOptions.jvmTarget = " 11"
3840 }
3941
42+ patchPluginXml {
43+ version.set(properties(" pluginVersion" ))
44+ sinceBuild.set(properties(" pluginSinceBuild" ))
45+ untilBuild.set(properties(" pluginUntilBuild" ))
46+
47+
48+ }
4049}
4150
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() {
5959 Surface (modifier = Modifier .fillMaxSize()) {
6060 Column {
6161 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" )
6363 TextField (
6464 value = textState.value,
6565 onValueChange = { textState.value = it }
You can’t perform that action at this time.
0 commit comments