File tree Expand file tree Collapse file tree 3 files changed +45
-12
lines changed
src/main/resources/META-INF Expand file tree Collapse file tree 3 files changed +45
-12
lines changed Original file line number Diff line number Diff line change 1
1
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
2
3
3
plugins {
4
- kotlin(" jvm" ) version " 1.6.10-RC "
4
+ kotlin(" jvm" ) version " 1.6.10"
5
5
application
6
6
}
7
7
8
- group = " me.jens "
8
+ group = " de.jensklingenberg "
9
9
version = " 1.0-SNAPSHOT"
10
10
11
11
repositories {
@@ -17,7 +17,6 @@ repositories {
17
17
dependencies {
18
18
testImplementation(kotlin(" test" ))
19
19
implementation(" org.jsoup:jsoup:1.14.3" )
20
- // implementation("org.jetbrains.compose.web:web-core:1.0.0")
21
20
}
22
21
23
22
tasks.test {
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ plugins {
8
8
id(" idea" )
9
9
}
10
10
11
- group = " org.example "
12
- version = " 1.0-SNAPSHOT "
11
+ group = " de.jensklingenberg "
12
+ version = " 1.0"
13
13
14
14
repositories {
15
15
mavenCentral()
@@ -25,9 +25,17 @@ dependencies {
25
25
26
26
// See https://github.com/JetBrains/gradle-intellij-plugin/
27
27
intellij {
28
- version.set(" 2021.3 " )
28
+ version.set(" 2021.2 " )
29
29
}
30
30
31
- tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
32
- kotlinOptions.jvmTarget = " 11"
31
+ tasks{
32
+ withType< org.jetbrains.intellij.tasks.PublishPluginTask > {
33
+ // token.set("XXX")
34
+ }
35
+
36
+ withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
37
+ kotlinOptions.jvmTarget = " 11"
38
+ }
39
+
33
40
}
41
+
Original file line number Diff line number Diff line change 1
1
<idea-plugin >
2
- <id >com.jetbrains.ComposeDemoPlugin </id >
3
- <name >Jetpack Compose for Desktop Demo </name >
4
- <vendor email =" support@jetbrains.com " url =" http://www.jetbrains.com " >JetBrains </vendor >
2
+ <id >de.jensklingenberg.htmltocfw </id >
3
+ <name >HTML to Compose Web Converter </name >
4
+ <vendor email =" mail@jensklingenberg.de " url =" http://www.jensklingenberg.de " >Jens Klingenberg </vendor >
5
5
6
6
<description ><![CDATA[
7
- A plugin demonstrates Jetpack compose capabilities on IntelliJ Platform
7
+ <h3>Intellij Idea Plugin that can convert HTML to Compose for Web code.</h3>
8
+
9
+ Turn this:
10
+ <p align="center">
11
+ <img src ="https://raw.githubusercontent.com/Foso/HtmlToComposeWebConverter/blob/master/docs/buttonhtml.png" height=500 />
12
+ </p>
13
+
14
+ Into this:
15
+ <p align="center">
16
+ <img src ="https://raw.githubusercontent.com/Foso/HtmlToComposeWebConverter/blob/master/docs/composebutton.png" height=500 />
17
+ </p>
18
+
19
+ ## Introduction / HOW TO USE
20
+
21
+ 1) Put your cursor to the place where you want to insert the Compose code.
22
+ 2) Open the Plugin under Tools> HTML to Compose Web
23
+ <p align="center">
24
+ <img src ="https://raw.githubusercontent.com/Foso/HtmlToComposeWebConverter/blob/master/docs/ideatools.png" height=500 />
25
+ </p>
26
+ 3) Add your HTML to press "Generate"
27
+ <p align="center">
28
+ <img src ="https://raw.githubusercontent.com/Foso/HtmlToComposeWebConverter/blob/master/docs/ideaWindow.png" height=500 />
29
+ </p>
30
+ 4) Your code is now inserted at your cursor.
31
+
32
+
33
+ Source code is available at https://github.com/Foso/HtmlToComposeWebConverter
8
34
]]> </description >
9
35
10
36
<!-- please see https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
You can’t perform that action at this time.
0 commit comments