Skip to content

Conversation

@timothyfroehlich
Copy link
Collaborator

No description provided.

Adds a new GitHub Actions workflow to run tests and a test publish.
The workflow is configured to use a write-only cache on the master branch
and a read-only cache on all other branches.
Condense redundant syntax
Made as a seperate commit to preserve git history
(change 1/2)
This change introduces functional tests for the `artifactregistry-gradle-plugin` and adds a root `build.gradle.kts` file to manage common configurations for all subprojects.

The changes include:
*   Adding a `functionalTest` source set to `artifactregistry-gradle-plugin/build.gradle.kts` using the `jvm-test-suite` plugin. This allows for testing the plugin by applying it to a test project.
*   Implementing a basic functional test (`SingleProjectTest.kt`) that verifies the plugin can be applied to a simple Gradle build.
*   Updating the Kotlin JVM toolchain to version 21 in `artifactregistry-gradle-plugin/build.gradle.kts`.
*   Creating a new root `build.gradle.kts` to centralize project-wide configurations such as group, version, Java compile options, repositories, and common POM attributes for publishing.
*   Configuring `maven-publish` and `signing` plugins in the root build script for all subprojects.
*   Adding a task `ensureNoGuavaAndroid` to all projects to prevent accidental inclusion of the Guava Android library.
*   Defining dependencies between subprojects: `artifactregistry-maven-wagon` and `artifactregistry-gradle-plugin` now depend on `artifactregistry-auth-common`.
@timothyfroehlich timothyfroehlich force-pushed the froeht/initial-func-test branch from 12d86d7 to 89510e2 Compare July 1, 2025 22:47
Base automatically changed from feature/github-actions-ci to master July 1, 2025 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant