Tried following the documentation and changing the BoM versions for the spring-ai-google-genai module. Nothing gets installed an registered in gradle libraries.

Versions tried: 1.0.2 as per the official Spring documentation 1.1.0-SNAPSHOT 1.1.10-M1 (https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-google-genai)

`plugins { id 'java' id 'org.springframework.boot' version '3.5.5' id 'io.spring.dependency-management' version '1.1.7' }

ext { set('springAiVersion', "1.0.2") }

group = 'com.abc.example' version = '0.0.1-SNAPSHOT' description = 'gen-ai-spring'

java { toolchain { languageVersion = JavaLanguageVersion.of(21) } }

repositories { mavenCentral() }

dependencyManagement { imports { mavenBom "org.springframework.ai:spring-ai-bom:${springAiVersion}" } }

dependencies { implementation 'org.springframework.boot:spring-boot-starter' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.ai:spring-ai-google-genai' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' }

tasks.named('test') { useJUnitPlatform() }`

Comment From: ilayaperumalg

@RyanHowell30 Google GenAI modules were adding as part of the latest Spring AI version is 1.1.0-M1. I see that you had it mentioned as 1.1.10-M1. Could you check?

Comment From: RyanHowell30

@ilayaperumalg sorry I meant 1.1.0-M1. Below is my current build.gradle and the module is not being installed.

`plugins { id 'java' id 'org.springframework.boot' version '3.5.5' id 'io.spring.dependency-management' version '1.1.7' }

ext { set('springAiVersion', "1.1.0-M1") }

group = 'com.abc.example' version = '0.0.1-SNAPSHOT' description = 'gen-ai-spring'

java { toolchain { languageVersion = JavaLanguageVersion.of(21) } }

repositories { mavenCentral() }

dependencyManagement { imports { mavenBom "org.springframework.ai:spring-ai-bom:${springAiVersion}" } }

dependencies { implementation 'org.springframework.boot:spring-boot-starter' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.ai:spring-ai-starter-model-google-genai' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' }

tasks.named('test') { useJUnitPlatform() } `

Comment From: RyanHowell30

@ilayaperumalg update here and for anyone finding this issue: if you set the version and then try append it like I did above^ it won't work.

This added the module successfully: 'implementation 'org.springframework.ai:spring-ai-starter-model-google-genai:1.1.0-M1'

Comment From: ilayaperumalg

Hi @RyanHowell30 , Thanks for the reply. This is a bug. Sorry about that. The Spring AI BOM is missing entries for the Google GenAI modules. I have pushed an update to add the missing entries. Please allow some time for the next 1.1.0-SNAPSHOT Spring AI build artifacts to have this fix so that you can try. Once you can verify, we can close this issue. Thank you for catching this!

Comment From: ilayaperumalg

@RyanHowell30 Thanks for the workaround to have the explicit versioning of 1.1.0-M1.

Comment From: ilayaperumalg

Closing this as fixed via https://github.com/spring-projects/spring-ai/commit/ae599539a7eddcb7244155456c05dcca4ca86a64