Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run buildHealth on the build-logic build too #25

Merged
merged 2 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Execute buildHealth for build-logic
run: './gradlew -p build-logic buildHealth -s'

- name: Execute check
run: './gradlew check -s'

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Execute buildHealth for build-logic
run: './gradlew -p build-logic buildHealth -s'

- name: Execute check
run: './gradlew check -s'

- name: Execute buildHealth
- name: Execute buildHealth for main project
run: './gradlew buildHealth -s'

- name: Publish artifacts
Expand Down Expand Up @@ -88,4 +91,4 @@ jobs:
kotlin-format/build/libs/kotlin-formatter-${{ needs.release_version.outputs.version }}-all.jar
kotlin-format/build/distributions/kotlin-formatter-dist-${{ needs.release_version.outputs.version }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Execute buildHealth for build-logic
run: './gradlew -p build-logic buildHealth -s'

- name: Execute check
run: './gradlew check -s'

- name: Execute buildHealth
- name: Execute buildHealth for main project
run: './gradlew buildHealth -s'
2 changes: 0 additions & 2 deletions build-logic/conventions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ kotlin {
}

dependencies {
implementation(libs.dependencyAnalysisPlugin)
implementation(libs.develocityPlugin)
implementation(libs.kotlinGradlePlugin)
}

val javaTarget = JavaLanguageVersion.of(libs.versions.java.get())
Expand Down
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("com.autonomousapps.dependency-analysis")
alias(libs.plugins.kotlin) apply false
alias(libs.plugins.dependencyAnalysis)
}

// https://github.com/autonomousapps/dependency-analysis-gradle-plugin/wiki
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ junitApi = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "juni
junitEngine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junitJupiter" }
junitLauncher = { module = "org.junit.platform:junit-platform-launcher", version.ref = "junitPlatform" }
junitParams = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junitJupiter" }
kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
ktfmt = { module = "com.facebook:ktfmt", version.ref = "ktfmt" }
mordant = { module = "com.github.ajalt.mordant:mordant", version.ref = "mordant" }

Expand Down
Loading