Skip to content

Commit 678b778

Browse files
committed
优化 runtime 配置,调整压缩包名称并移除平台特定的 image 打包设置
1 parent ea62af4 commit 678b778

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

build.gradle

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,12 @@ application {
4747
//}
4848

4949
runtime {
50-
options = ['--strip-debug',
51-
'--no-header-files', '--no-man-pages']
52-
53-
// 给三大平台分别打 image
54-
targetPlatform('win', System.getenv('WIN_JDK')) // Windows x64
55-
targetPlatform('linux', System.getenv('LINUX_JDK'))
56-
targetPlatform('mac', System.getenv('MAC_JDK'))
57-
58-
imageZip = file("$buildDir/image/Javaows.zip")
50+
options = [
51+
'--strip-debug',
52+
'--no-header-files',
53+
'--no-man-pages'
54+
]
55+
imageZip = file("$buildDir/image/Javaows-xwx.zip")
5956
}
6057

6158
publishing {

0 commit comments

Comments
 (0)