Skip to content

Commit 91cb928

Browse files
author
Alexandr Devyatkin
committed
- add ci
1 parent acf26e6 commit 91cb928

9 files changed

+139
-9
lines changed

.run/Run IDE for UI Tests.run.xml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run IDE for UI Tests" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
4+
<ExternalSystemSettings>
5+
<option name="executionName" />
6+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
7+
<option name="externalSystemIdString" value="GRADLE" />
8+
<option name="scriptParameters" value="runIdeForUiTests" />
9+
<option name="taskDescriptions">
10+
<list />
11+
</option>
12+
<option name="taskNames">
13+
<list />
14+
</option>
15+
<option name="vmOptions" />
16+
</ExternalSystemSettings>
17+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
18+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
19+
<DebugAllEnabled>false</DebugAllEnabled>
20+
<method v="2" />
21+
</configuration>
22+
</component>

.run/Run IDE with Plugin.run.xml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Plugin" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
4+
<ExternalSystemSettings>
5+
<option name="executionName" />
6+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
7+
<option name="externalSystemIdString" value="GRADLE" />
8+
<option name="scriptParameters" value="" />
9+
<option name="taskDescriptions">
10+
<list />
11+
</option>
12+
<option name="taskNames">
13+
<list>
14+
<option value="runIde" />
15+
</list>
16+
</option>
17+
<option name="vmOptions" value="" />
18+
</ExternalSystemSettings>
19+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
20+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
21+
<DebugAllEnabled>false</DebugAllEnabled>
22+
<method v="2" />
23+
</configuration>
24+
</component>

.run/Run Plugin Tests.run.xml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Tests" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
4+
<ExternalSystemSettings>
5+
<option name="executionName" />
6+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
7+
<option name="externalSystemIdString" value="GRADLE" />
8+
<option name="scriptParameters" value="" />
9+
<option name="taskDescriptions">
10+
<list />
11+
</option>
12+
<option name="taskNames">
13+
<list>
14+
<option value="test" />
15+
</list>
16+
</option>
17+
<option name="vmOptions" value="" />
18+
</ExternalSystemSettings>
19+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
20+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
21+
<DebugAllEnabled>false</DebugAllEnabled>
22+
<method v="2" />
23+
</configuration>
24+
</component>

.run/Run Plugin Verification.run.xml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Verifications" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
4+
<ExternalSystemSettings>
5+
<option name="executionName" />
6+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
7+
<option name="externalSystemIdString" value="GRADLE" />
8+
<option name="scriptParameters" value="" />
9+
<option name="taskDescriptions">
10+
<list />
11+
</option>
12+
<option name="taskNames">
13+
<list>
14+
<option value="runPluginVerifier" />
15+
</list>
16+
</option>
17+
<option name="vmOptions" value="" />
18+
</ExternalSystemSettings>
19+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
20+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
21+
<DebugAllEnabled>false</DebugAllEnabled>
22+
<method v="2">
23+
<option name="Gradle.BeforeRunTask" enabled="true" tasks="clean" externalProjectPath="$PROJECT_DIR$" vmOptions="" scriptParameters="" />
24+
</method>
25+
</configuration>
26+
</component>

.run/Run Qodana.run.xml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Qodana" type="GradleRunConfiguration" factoryName="Gradle">
3+
<ExternalSystemSettings>
4+
<option name="env">
5+
<map>
6+
<entry key="QODANA_SHOW_REPORT" value="true" />
7+
</map>
8+
</option>
9+
<option name="executionName" />
10+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
11+
<option name="externalSystemIdString" value="GRADLE" />
12+
<option name="scriptParameters" value="cleanInspections runInspections" />
13+
<option name="taskDescriptions">
14+
<list />
15+
</option>
16+
<option name="taskNames">
17+
<list />
18+
</option>
19+
<option name="vmOptions" />
20+
</ExternalSystemSettings>
21+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
22+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
23+
<DebugAllEnabled>false</DebugAllEnabled>
24+
<method v="2" />
25+
</configuration>
26+
</component>

build.gradle.kts

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ qodana {
5252
showReport.set(System.getenv("QODANA_SHOW_REPORT")?.toBoolean() ?: false)
5353
}
5454

55-
dependencies {
56-
implementation(kotlin("stdlib"))
57-
}
58-
5955
tasks {
56+
wrapper {
57+
gradleVersion = properties("gradleVersion")
58+
}
59+
6060
patchPluginXml {
6161
version.set(properties("pluginVersion"))
6262
sinceBuild.set(properties("pluginSinceBuild"))

gradle.properties

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ kotlin.code.style=official
33
pluginGroup=com.wavesplatform
44
pluginName=rideplugin
55
pluginVersion=0.0.1-SNAPSHOT
6+
# Gradle Releases -> https://github.com/gradle/gradle/releases
7+
gradleVersion = 7.5.1
68
# platform
79
platformType=IC
810
platformVersion=2021.3.3
911
platformPlugins=
1012
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1113
pluginSinceBuild = 213
12-
pluginUntilBuild = 222.*
14+
pluginUntilBuild = 222.*
15+
16+
# Opt-out flag for bundling Kotlin standard library -> https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library
17+
# suppress inspection "UnusedProperty"
18+
kotlin.stdlib.default.dependency = false
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/resources/META-INF/plugin.xml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<idea-plugin>
22
<id>com.wavesplatform.rideplugin</id>
3-
<name>Plugin display name here</name>
4-
<vendor email="[email protected]" url="http://www.yourcompany.com">YourCompany</vendor>
3+
<name>RIDE</name>
4+
<vendor>devyatkinalexandr</vendor>
5+
6+
<depends>com.intellij.modules.platform</depends>
57

68
<description><![CDATA[
7-
Enter short description for your plugin here.<br>
9+
Jetbrains IntelliJ IDEA Plugin for RIDE<br>
810
<em>most HTML tags may be used</em>
911
]]></description>
1012

0 commit comments

Comments
 (0)