Skip to content

Commit 801af56

Browse files
committed
fix: build
1 parent e24e579 commit 801af56

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

backend/build.gradle

+4-9
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
plugins {
1414
id 'java'
1515
id 'org.springframework.boot' version '3.4.0'
16-
id 'io.spring.dependency-management' version '1.1.6'
16+
id 'io.spring.dependency-management' version '1.1.7'
1717
}
1818

1919
group = 'ch.xxx'
2020
version = '0.0.1-SNAPSHOT'
2121

2222
java {
2323
toolchain {
24-
languageVersion = JavaLanguageVersion.of(21)
24+
languageVersion = JavaLanguageVersion.of(24)
2525
}
2626
}
2727

@@ -43,16 +43,11 @@ dependencies {
4343
implementation 'net.javacrumbs.shedlock:shedlock-provider-jdbc-template:6.0.1'
4444
implementation 'org.springframework.ai:spring-ai-pgvector-store-spring-boot-starter:1.0.0-SNAPSHOT'
4545
implementation 'org.springframework.ai:spring-ai-transformers-spring-boot-starter:1.0.0-SNAPSHOT'
46+
implementation 'org.springframework.ai:spring-ai-ollama-spring-boot-starter:1.0.0-SNAPSHOT'
4647
testImplementation 'org.springframework.boot:spring-boot-starter-test'
4748
testImplementation 'org.springframework.security:spring-security-test'
48-
testImplementation 'com.tngtech.archunit:archunit-junit5:1.3.0'
49+
testImplementation 'com.tngtech.archunit:archunit-junit5:1.4.0'
4950
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
50-
51-
// if(project.hasProperty('useOllama')) {
52-
implementation 'org.springframework.ai:spring-ai-ollama-spring-boot-starter:1.0.0-SNAPSHOT'
53-
// } else {
54-
// implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter:0.8.1-SNAPSHOT'
55-
// }
5651
}
5752

5853
bootJar {

frontend/build.gradle

+3-7
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
group = 'ch.xxx'
1818
version = '0.0.1-SNAPSHOT'
1919

20-
java {
21-
sourceCompatibility = '21'
22-
}
23-
2420
task cleanAngular {
2521
if(project.hasProperty('withAngular')) {
2622
logger.info('Task cleanAngular')
@@ -30,7 +26,7 @@ task cleanAngular {
3026

3127
task buildAngular {
3228
if(project.hasProperty('withAngular')) {
33-
providers.exec {
29+
exec {
3430
logger.info('Task buildAngular - npm install')
3531
workingDir 'src/angular'
3632
if (System.getProperty("os.name").toUpperCase().contains("WINDOWS")){
@@ -39,7 +35,7 @@ task buildAngular {
3935
commandLine('npm', 'install')
4036
}
4137
}
42-
providers.exec {
38+
exec {
4339
logger.info('Task buildAngular - npm run build')
4440
workingDir 'src/angular'
4541
if (System.getProperty("os.name").toUpperCase().contains("WINDOWS")){
@@ -53,7 +49,7 @@ task buildAngular {
5349

5450
task testAngular {
5551
if(project.hasProperty('withAngular')) {
56-
providers.exec {
52+
exec {
5753
workingDir 'src/angular'
5854
if (System.getProperty("os.name").toUpperCase().contains("WINDOWS")){
5955
logger.info('Task buildAngular - npm run test')

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)