Skip to content

Commit 0b4964b

Browse files
committed
feat: update gradle
1 parent 2aab044 commit 0b4964b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

backend/build.gradle

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020

2121
group = 'ch.xxx'
2222
version = '0.0.1-SNAPSHOT'
23-
sourceCompatibility = '21'
23+
24+
java {
25+
toolchain {
26+
languageVersion = JavaLanguageVersion.of(21)
27+
}
28+
}
2429

2530
repositories {
2631
mavenCentral()

frontend/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ task cleanAngular {
2626

2727
task buildAngular {
2828
if(project.hasProperty('withAngular')) {
29-
exec {
29+
providers.exec {
3030
logger.info('Task buildAngular - npm install')
3131
workingDir 'src/angular'
3232
if (System.getProperty("os.name").toUpperCase().contains("WINDOWS")){
@@ -35,7 +35,7 @@ task buildAngular {
3535
commandLine('npm', 'install')
3636
}
3737
}
38-
exec {
38+
providers.exec {
3939
logger.info('Task buildAngular - npm run build')
4040
workingDir 'src/angular'
4141
if (System.getProperty("os.name").toUpperCase().contains("WINDOWS")){
@@ -49,7 +49,7 @@ task buildAngular {
4949

5050
task testAngular {
5151
if(project.hasProperty('withAngular')) {
52-
exec {
52+
providers.exec {
5353
workingDir 'src/angular'
5454
if (System.getProperty("os.name").toUpperCase().contains("WINDOWS")){
5555
logger.info('Task buildAngular - npm run test')
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)