chore: update JBR version to 25.0.2b329.66

This commit is contained in:
hstyi
2026-02-25 09:01:26 +08:00
committed by GitHub
parent 5375a2e42e
commit 024d349d5b
6 changed files with 18 additions and 12 deletions

View File

@@ -44,6 +44,10 @@ val macOSNotaryKeychainProfile = System.getenv("TERMORA_MAC_NOTARY_KEYCHAIN_PROF
val macOSNotary = macOSSign && macOSNotaryKeychainProfile.isNotBlank()
&& System.getenv("TERMORA_MAC_NOTARY").toBoolean()
fun exec(action: ExecSpec.() -> Unit) {
providers.exec(action).result.get().assertNormalExitValue()
}
allprojects {
repositories {
mavenCentral()
@@ -577,9 +581,8 @@ fun packOnMac(distributionDir: Directory, finalFilenameWithoutExtension: String,
signMacOSLocalFile(dmgFile)
// 找到 .app
val imageFile = layout.buildDirectory.dir("jpackage/images/").get().asFile
val appFile = imageFile.listFiles()?.firstOrNull()?.listFiles()?.firstOrNull()
?: throw FileNotFoundException("${projectName}.app")
val imageFile = layout.buildDirectory.dir("jpackage/image/").get().asFile
val appFile = imageFile.listFiles()?.firstOrNull() ?: throw FileNotFoundException("${projectName}.app")
// zip
// @formatter:off
@@ -768,7 +771,7 @@ fun stapleMacOSLocalFile(file: File) {
kotlin {
jvmToolchain {
languageVersion = JavaLanguageVersion.of(21)
languageVersion = JavaLanguageVersion.of(25)
}
}
@@ -781,4 +784,4 @@ idea {
isDownloadJavadoc = true
isDownloadSources = true
}
}
}