Commit a04f790
authored
Narrow build scope in publish workflow to :api module only (#64)
The publish workflow only publishes the api module to Maven Central.
Running > Task :api:generateEffectiveLombokConfig UP-TO-DATE
> Task :api:compileJava UP-TO-DATE
> Task :api:processResources NO-SOURCE
> Task :api:classes UP-TO-DATE
> Task :api:jar UP-TO-DATE
> Task :api:sourcesJar UP-TO-DATE
> Task :api:assemble UP-TO-DATE
> Task :api:generateTestEffectiveLombokConfig UP-TO-DATE
> Task :api:compileTestJava NO-SOURCE
> Task :api:processTestResources NO-SOURCE
> Task :api:testClasses UP-TO-DATE
> Task :api:test NO-SOURCE
> Task :api:check UP-TO-DATE
> Task :api:build UP-TO-DATE
> Task :app:generateEffectiveLombokConfig UP-TO-DATE
> Task :app:compileJava UP-TO-DATE
> Task :app:processResources UP-TO-DATE
> Task :ui:nodeSetup SKIPPED
> Task :ui:pnpmSetup UP-TO-DATE
> Task :ui:pnpmInstall UP-TO-DATE
> Task :ui:pnpmBuild UP-TO-DATE
> Task :ui:assemble UP-TO-DATE
> Task :app:processUiResources UP-TO-DATE
> Task :app:classes UP-TO-DATE
> Task :app:generatePluginComponentsIdx
> Task :app:jar
> Task :app:assemble
> Task :app:generateTestEffectiveLombokConfig UP-TO-DATE
> Task :app:compileTestJava UP-TO-DATE
> Task :app:processTestResources NO-SOURCE
> Task :app:testClasses UP-TO-DATE
> Task :app:test
> Task :app:check
> Task :app:build
> Task :ui:pnpmCheck
> @ test:unit /var/home/core/projects/plugin-ai-foundation/ui
> rstest run
Rstest v0.10.0
✓ src/formkit/ai-model-selector.test.ts (3)
✓ src/utils/markdown.test.ts (3)
✓ src/views/components/model-group-removal.test.ts (3)
✓ src/utils/model.test.ts (9)
✓ src/composables/use-providers-fetch.test.ts (1)
✓ src/utils/model-options.test.ts (2)
✓ src/utils/model-test-workbench.test.ts (29)
✓ src/views/components/ProviderEnableSwitch.test.ts (1)
Test Files 8 passed
Tests 51 passed
Duration 1.37s (build 389ms, tests 984ms)
> Task :ui:check
> Task :ui:build
[Incubating] Problems report is available at: file:///var/home/core/projects/plugin-ai-foundation/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/9.4.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 8s
18 actionable tasks: 4 executed, 14 up-to-date builds all modules including app and ui,
which requires pnpm and Node.js — unnecessary overhead for an
API-only publish.
Changed to > Task :api:generateEffectiveLombokConfig UP-TO-DATE
> Task :api:compileJava UP-TO-DATE
> Task :api:processResources NO-SOURCE
> Task :api:classes UP-TO-DATE
> Task :api:jar UP-TO-DATE
> Task :api:sourcesJar UP-TO-DATE
> Task :api:assemble UP-TO-DATE
> Task :api:generateTestEffectiveLombokConfig UP-TO-DATE
> Task :api:compileTestJava NO-SOURCE
> Task :api:processTestResources NO-SOURCE
> Task :api:testClasses UP-TO-DATE
> Task :api:test NO-SOURCE
> Task :api:check UP-TO-DATE
> Task :api:build UP-TO-DATE
[Incubating] Problems report is available at: file:///var/home/core/projects/plugin-ai-foundation/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/9.4.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 683ms
5 actionable tasks: 5 up-to-date
Consider enabling configuration cache to speed up this build: https://docs.gradle.org/9.4.0/userguide/configuration_cache_enabling.html, which is all the api module
needs to compile and run tests before publishing.1 parent 038c084 commit a04f790
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments