Skip to content

Corrected the build and publish process - #26

Merged
mxt-nilesh-wani merged 1 commit into
masterfrom
correct-build-and-publish
Aug 28, 2026
Merged

Corrected the build and publish process#26
mxt-nilesh-wani merged 1 commit into
masterfrom
correct-build-and-publish

Conversation

@robin-maxxton

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 28, 2026 06:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Gradle configuration to support building/publishing against a Google Artifact Registry Maven repository, and sets a repo-wide Java version.

Changes:

  • Add Google Artifact Registry Gradle plugin initialization in microdocs-crawler-doclet/settings.gradle.
  • Add the Artifact Registry Maven repository to microdocs-crawler-doclet/build.gradle.
  • Introduce a root .java-version file (currently set to Java 25).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
microdocs-crawler-doclet/settings.gradle Adds Artifact Registry Gradle plugin bootstrap so the artifactregistry:// repository scheme can be used.
microdocs-crawler-doclet/build.gradle Adds an Artifact Registry Maven repository for dependency resolution.
.java-version Sets the repo-wide Java version used by common version managers.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +1 to 12
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath("com.google.cloud.artifactregistry.gradle-plugin:com.google.cloud.artifactregistry.gradle-plugin.gradle.plugin:2.2.5")
}
}

apply plugin: com.google.cloud.artifactregistry.gradle.plugin.ArtifactRegistryGradlePlugin

rootProject.name = 'microdocs-crawler-doclet'
Comment on lines 6 to 12
repositories {
mavenCentral()
mavenLocal()
maven {
url "artifactregistry://europe-maven.pkg.dev/dynamic-concept-192711/maxxton-maven-virtual"
}
}
Comment thread .java-version
@@ -0,0 +1 @@
25
@mxt-nilesh-wani
mxt-nilesh-wani merged commit 625b1b6 into master Aug 28, 2026
2 checks passed
robin-maxxton added a commit that referenced this pull request Aug 28, 2026
… document JDK 25

The doclet resolved microdocs-core-java from mavenLocal() before Artifact
Registry, so a stale ~/.m2 copy could mask what is actually published and
make local builds disagree with publish.sh/CI. publish.sh publishes core to
the registry before the doclet builds, so mavenLocal() is not needed here.

README still claimed master is based on Java 21; it has been on JDK 25 since
MXTS-77488.
robin-maxxton added a commit that referenced this pull request Aug 28, 2026
…adme-jdk

Address Copilot review follow-ups from #26
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.

4 participants