diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml new file mode 100644 index 0000000..098f157 --- /dev/null +++ b/.github/workflows/build-gradle-project.yml @@ -0,0 +1,23 @@ +name: build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + gradle: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 11 + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3-beta + + - name: Execute Gradle build + run: ./gradlew build diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml deleted file mode 100644 index 2993d32..0000000 --- a/.github/workflows/gradle.yml +++ /dev/null @@ -1,29 +0,0 @@ -# This workflow will build a Java project with Gradle -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle - -name: Java CI with Gradle - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'adopt' - - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b - - name: Build with Gradle - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 - with: - arguments: build diff --git a/README.MD b/README.md similarity index 57% rename from README.MD rename to README.md index ba1d636..10b26a2 100644 --- a/README.MD +++ b/README.md @@ -1,5 +1,5 @@ -Builder Generator Idea plugin ![Java CI with Gradle](https://github.com/mjedynak/builder-generator-idea-plugin/workflows/Java%20CI%20with%20Gradle/badge.svg?branch=master) -=============== +# Builder Generator Idea plugin ![build](https://github.com/mjedynak/builder-generator-idea-plugin/actions/workflows/build-gradle-project.yml/badge.svg?branch=master) + Plugin for IntelliJ IDEA that adds ability to generate builder for a class and switch between them. Switching between builder and source class is similar to 'Go To Test' action. diff --git a/build.gradle.kts b/build.gradle.kts index ba8ff9b..fe21a8b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } group = "pl.mjedynak" -version = "1.4.0" +version = "1.5.0-SNAPSHOT" repositories { mavenCentral() diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 81c4ed3..3502afb 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -26,7 +26,7 @@ ]]> - 1.4.0 + 1.5.0-SNAPSHOT