File tree Expand file tree Collapse file tree 7 files changed +30
-18
lines changed
Expand file tree Collapse file tree 7 files changed +30
-18
lines changed Original file line number Diff line number Diff line change 3333 uses : actions/setup-java@v5
3434 with :
3535 distribution : temurin
36- java-version : 24
36+ java-version : 25
3737
3838 - name : Setup project and upload dependency graph
3939 uses : gradle/actions/setup-gradle@v4
Original file line number Diff line number Diff line change 1- FROM eclipse-temurin:24 -alpine AS builder
1+ FROM eclipse-temurin:25 -alpine AS builder
22
33WORKDIR /app
44COPY . .
Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ And it's done!
5555
5656## How to set up the project
5757
58- 1 . Install JDK 24 (or higher)
58+ 1 . Install JDK 25 (or higher)
59592 . Clone the project and move into its folder
60603 . Run the command ` ./gradlew build -x test `
61614 . Import the project inside your IDE as a Gradle project
62- 5 . Ensure your IDE is correctly configured to use a Java 24 (or higher) JDK
62+ 5 . Ensure your IDE is correctly configured to use a Java 25 (or higher) JDK
6363
6464## How to run the bot locally
6565
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ version = '2.0'
3131description = ' Telegram bot to convert medias in the format required to be used as Telegram stickers'
3232
3333java. toolchain {
34- languageVersion = JavaLanguageVersion . of(24 )
34+ languageVersion = JavaLanguageVersion . of(25 )
3535 vendor = JvmVendorSpec . ADOPTIUM
3636}
3737
3838updateDaemonJvm {
39- languageVersion = JavaLanguageVersion . of(24 )
39+ languageVersion = JavaLanguageVersion . of(25 )
4040 vendor = JvmVendorSpec . ADOPTIUM
4141}
4242
@@ -84,8 +84,20 @@ jacocoTestReport {
8484 }
8585}
8686
87+ def generateCohArchive = tasks. register(' generateCohArchive' , Exec ) {
88+ inputs. dir(jlink. map { it. outputDirectory. get(). asFile })
89+
90+ def java = jlink. map { it. outputDirectory. file(' jre/bin/java' ). get(). asFile. absolutePath }
91+ doFirst { commandLine(java. get(), ' -XX:+UseCompactObjectHeaders' , ' -Xshare:dump' ) }
92+ }
93+
94+ jlink. configure { finalizedBy(generateCohArchive) }
95+ test. mustRunAfter(generateCohArchive)
96+ installDist. mustRunAfter(generateCohArchive)
97+
8798application {
8899 mainClass = ' com.github.stickerifier.stickerify.runner.Main'
100+ applicationDefaultJvmArgs = [' -XX:+UseCompactObjectHeaders' , ' -XX:+UseShenandoahGC' , ' -XX:ShenandoahGCMode=generational' ]
89101}
90102
91103distributions {
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ repositories {
77}
88
99java. toolchain {
10- languageVersion = JavaLanguageVersion . of(24 )
10+ languageVersion = JavaLanguageVersion . of(25 )
1111 vendor = JvmVendorSpec . ADOPTIUM
1212}
Original file line number Diff line number Diff line change 11# This file is generated by updateDaemonJvm
2- toolchainUrl.FREE_BSD.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/6d0adbce30460017fe61d2993dfa663e /redirect
3- toolchainUrl.FREE_BSD.X86_64 =https\://api.foojay.io/disco/v3.0/ids/50f16d2dc2bb80a421afc1af38fc92e3 /redirect
4- toolchainUrl.LINUX.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/6d0adbce30460017fe61d2993dfa663e /redirect
5- toolchainUrl.LINUX.X86_64 =https\://api.foojay.io/disco/v3.0/ids/50f16d2dc2bb80a421afc1af38fc92e3 /redirect
6- toolchainUrl.MAC_OS.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/4f4ebe4f162f6deb29540c4ebe629d79 /redirect
7- toolchainUrl.MAC_OS.X86_64 =https\://api.foojay.io/disco/v3.0/ids/79d5995ef1c3e4df39a3b2f545cada5e /redirect
8- toolchainUrl.UNIX.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/6d0adbce30460017fe61d2993dfa663e /redirect
9- toolchainUrl.UNIX.X86_64 =https\://api.foojay.io/disco/v3.0/ids/50f16d2dc2bb80a421afc1af38fc92e3 /redirect
10- toolchainUrl.WINDOWS.X86_64 =https\://api.foojay.io/disco/v3.0/ids/61fdd87038cf8b094dadad8566609a29 /redirect
2+ toolchainUrl.FREE_BSD.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/dcd2068273614ddddeba9b7cbf486173 /redirect
3+ toolchainUrl.FREE_BSD.X86_64 =https\://api.foojay.io/disco/v3.0/ids/c7dbcf54bacc4c888b93cc42ef334a2a /redirect
4+ toolchainUrl.LINUX.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/dcd2068273614ddddeba9b7cbf486173 /redirect
5+ toolchainUrl.LINUX.X86_64 =https\://api.foojay.io/disco/v3.0/ids/c7dbcf54bacc4c888b93cc42ef334a2a /redirect
6+ toolchainUrl.MAC_OS.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/f2eb759b13be68e51cbe892c2e95efbe /redirect
7+ toolchainUrl.MAC_OS.X86_64 =https\://api.foojay.io/disco/v3.0/ids/9fafe4c46611108fb1379058ea84c17b /redirect
8+ toolchainUrl.UNIX.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/dcd2068273614ddddeba9b7cbf486173 /redirect
9+ toolchainUrl.UNIX.X86_64 =https\://api.foojay.io/disco/v3.0/ids/c7dbcf54bacc4c888b93cc42ef334a2a /redirect
10+ toolchainUrl.WINDOWS.X86_64 =https\://api.foojay.io/disco/v3.0/ids/303c95a051768711e2ec6e0c82bc7dbb /redirect
1111toolchainVendor =ADOPTIUM
12- toolchainVersion =24
12+ toolchainVersion =25
Original file line number Diff line number Diff line change 55 - name : VulnerableLibrariesGlobal
66# bump: qodana /qodana-jvm:([\d.]+)/ docker:jetbrains/qodana-jvm|/^[\d]{4}\.\d+$/|sort
77linter : jetbrains/qodana-jvm:2025.2
8- projectJDK : temurin-24
8+ projectJDK : temurin-25
You can’t perform that action at this time.
0 commit comments