Skip to content

Commit 845188d

Browse files
Merge pull request #34 from gerardorodriguezdev/add-envs-creator
add-envs-creator
2 parents a151532 + d290dea commit 845188d

File tree

176 files changed

+5621
-6082
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+5621
-6082
lines changed

.github/actions/build-action/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ runs:
1010
uses: ./.github/actions/setup-action
1111

1212
- name: Build
13-
run: ./gradlew detekt :core:apiCheck test build :intellij-plugin:plugin:buildPlugin
13+
run: |
14+
./gradlew detekt :core:apiCheck test build :intellij-plugin:plugin:buildPlugin
15+
./samples/gradle-project/gradlew build
1416
shell: bash

.github/workflows/deploy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
- name: Build
2424
uses: ./.github/actions/build-action
2525

26+
- name: Verify gradle plugin
27+
run: |
28+
./gradlew :gradle-plugin:publishPlugins --validate-only \
29+
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} \
30+
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
31+
2632
- name: Verify Jetbrains plugin
2733
run: ./gradlew :intellij-plugin:plugin:verifyPlugin
2834

@@ -34,6 +40,12 @@ jobs:
3440
JETBRAINS_PRIVATE_KEY: ${{ secrets.JETBRAINS_PRIVATE_KEY }}
3541
JETBRAINS_PRIVATE_KEY_PASSWORD: ${{ secrets.JETBRAINS_PRIVATE_KEY_PASSWORD }}
3642

43+
- name: Publish gradle plugin
44+
run: |
45+
./gradlew :gradle-plugin:publishPlugins \
46+
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} \
47+
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
48+
3749
- name: Publish to MavenCentral
3850
run: ./gradlew :core:publishAndReleaseToMavenCentral --no-configuration-cache
3951
env:

.run/ComponentsDemoKt.run.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.run/build-action.run.xml

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,18 @@
11
<component name="ProjectRunConfigurationManager">
2-
<configuration default="false" name="build-action" type="GradleRunConfiguration" factoryName="Gradle"
3-
folderName="General">
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="detekt"/>
15-
<option value=":core:apiCheck"/>
16-
<option value="test"/>
17-
<option value="build"/>
18-
<option value=":intellij-plugin:plugin:buildPlugin"/>
19-
</list>
20-
</option>
21-
<option name="vmOptions"/>
22-
</ExternalSystemSettings>
23-
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
24-
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
25-
<DebugAllEnabled>false</DebugAllEnabled>
26-
<RunAsTest>false</RunAsTest>
27-
<method v="2"/>
2+
<configuration default="false" name="build-action" type="ShConfigurationType">
3+
<option name="SCRIPT_TEXT"
4+
value="./gradlew detekt :core:apiCheck test build :intellij-plugin:plugin:buildPlugin &amp;&amp; ./samples/gradle-project/gradlew build"/>
5+
<option name="INDEPENDENT_SCRIPT_PATH" value="true"/>
6+
<option name="SCRIPT_PATH" value=""/>
7+
<option name="SCRIPT_OPTIONS" value=""/>
8+
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true"/>
9+
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$"/>
10+
<option name="INDEPENDENT_INTERPRETER_PATH" value="true"/>
11+
<option name="INTERPRETER_PATH" value="/bin/zsh"/>
12+
<option name="INTERPRETER_OPTIONS" value=""/>
13+
<option name="EXECUTE_IN_TERMINAL" value="true"/>
14+
<option name="EXECUTE_SCRIPT_FILE" value="false"/>
15+
<envs/>
16+
<method v="2"/>
2817
</configuration>
2918
</component>

NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Create branch from master
66
- Do all the development in the branch
7+
- Update change notes in [plugin.xml](/intellij-plugin/plugin/src/main/resources/META-INF/plugin.xml)
78
- Push the branch
89
- Create a pr from branch to master
910
- When all checks are ok merge to master

build.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ import io.gitlab.arturbosch.detekt.Detekt
22

33
plugins {
44
alias(libs.plugins.kmp.kotlin) apply false
5-
alias(libs.plugins.kmp.serialization) apply false
6-
alias(libs.plugins.maven.publish) apply false
7-
alias(libs.plugins.intellij) apply false
8-
alias(libs.plugins.kmp.compose) apply false
95
alias(libs.plugins.detekt)
106
}
117

@@ -24,8 +20,4 @@ dependencies {
2420
tasks.withType<Detekt> detekt@{
2521
setSource(files(project.projectDir))
2622
exclude("**/build/**")
27-
}
28-
29-
tasks.register("releaseVersion") {
30-
println(libs.versions.release.get())
3123
}

0 commit comments

Comments
 (0)