mirror of
https://github.com/TermoraDev/termora.git
synced 2026-03-31 21:32:20 +08:00
chore: update JBR version to 25.0.2b329.66
This commit is contained in:
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@@ -3,8 +3,8 @@ name: Linux
|
||||
on: [ push, pull_request ]
|
||||
|
||||
env:
|
||||
JBR_MAJOR: 21.0.8
|
||||
JBR_PATCH: b1163.69
|
||||
JBR_MAJOR: 25.0.2
|
||||
JBR_PATCH: b329.66
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
4
.github/workflows/osx.yml
vendored
4
.github/workflows/osx.yml
vendored
@@ -8,8 +8,8 @@ env:
|
||||
# 只有发布版本时才需要公证
|
||||
TERMORA_MAC_NOTARY: "${{ startsWith(github.event.head_commit.message, 'release: ') && github.repository == 'TermoraDev/termora' }}"
|
||||
TERMORA_MAC_NOTARY_KEYCHAIN_PROFILE: ${{ secrets.TERMORA_MAC_NOTARY_KEYCHAIN_PROFILE }}
|
||||
JBR_MAJOR: 21.0.8
|
||||
JBR_PATCH: b1163.69
|
||||
JBR_MAJOR: 25.0.2
|
||||
JBR_PATCH: b329.66
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
@@ -3,8 +3,8 @@ name: Windows
|
||||
on: [ push, pull_request ]
|
||||
|
||||
env:
|
||||
JBR_MAJOR: 21.0.8
|
||||
JBR_PATCH: b1163.69
|
||||
JBR_MAJOR: 25.0.2
|
||||
JBR_PATCH: b329.66
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
|
||||
|
||||
fun exec(action: ExecSpec.() -> Unit) {
|
||||
providers.exec(action).result.get().assertNormalExitValue()
|
||||
}
|
||||
|
||||
tasks.withType<Jar> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user