-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
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()
}`