Skip to content

Fix broken music plugin and transientDependencies #195

Fix broken music plugin and transientDependencies

Fix broken music plugin and transientDependencies #195

name: Gradle Plugin CI
on:
push:
branches:
- main
paths:
- gradle/libs.versions.toml
pull_request:
paths:
- gradle-plugin/**
types:
- opened
- synchronize
env:
BUILD_PLUGIN_CI: true
jobs:
gradleValidation:
name: Gradle Wrapper
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v4
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v3
build:
runs-on: ubuntu-latest
needs: gradleValidation
steps:
- uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 22
- name: Test with Gradle
run: ./gradlew gradle-plugin:classes
- name: Login to Gradle Plugin Portal
if: "github.event_name == 'push'"
env:
GRADLE_CONFIG: ${{ secrets.GRADLE_CONFIG }}
run: echo "$GRADLE_CONFIG" > ~/.gradle/gradle.properties
- name: Update dependency list
run: ./rebuild-plugin-dependency-list.sh
- name: Gradle Publish
if: "github.event_name == 'push'"
run: ./gradlew :gradle-plugin:publishPlugins