Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Quincy379
jadx
提交
46aecdde
J
jadx
项目概览
Quincy379
/
jadx
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jadx
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
46aecdde
编写于
11月 14, 2020
作者:
S
Skylot
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build: bundle JRE with jadx-gui
上级
82d40995
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
48 addition
and
5 deletion
+48
-5
build.gradle
build.gradle
+10
-0
jadx-gui/build.gradle
jadx-gui/build.gradle
+38
-5
未找到文件。
build.gradle
浏览文件 @
46aecdde
...
...
@@ -156,6 +156,16 @@ task dist(dependsOn: [pack, copyExe]) {
description
=
'Build jadx distribution zip'
}
task
distWin
(
type:
Copy
,
dependsOn:
'jadx-gui:distWinWithJre'
)
{
group
'jadx'
description
=
'Copy bundle to build dir'
destinationDir
buildDir
from
(
tasks
.
getByPath
(
'jadx-gui:distWinWithJre'
).
outputs
)
{
include
'*.zip'
}
duplicatesStrategy
=
DuplicatesStrategy
.
EXCLUDE
}
task
samples
(
dependsOn:
'jadx-samples:samples'
)
{
group
'jadx'
}
...
...
jadx-gui/build.gradle
浏览文件 @
46aecdde
plugins
{
id
'application'
id
'edu.sc.seis.launch4j'
version
'2.4.8'
id
'com.github.johnrengelman.shadow'
version
'6.0.0'
id
'edu.sc.seis.launch4j'
version
'2.4.9'
id
'com.github.johnrengelman.shadow'
version
'6.1.0'
id
'org.beryx.runtime'
version
'1.11.4'
}
dependencies
{
...
...
@@ -71,15 +72,47 @@ launch4j {
copyright
=
'Skylot'
windowTitle
=
'jadx'
companyName
=
'jadx'
jreMinVersion
=
'1
.8.0
'
jreMinVersion
=
'1
1
'
jvmOptions
=
[
'-Dawt.useSystemAAFontSettings=lcd'
,
'-Dswing.aatext=true'
,
'-XX:+UseG1GC'
]
jreRuntimeBits
=
"64"
bundledJre64Bit
=
true
initialHeapPercent
=
5
maxHeapSize
=
4096
maxHeapPercent
=
70
downloadUrl
=
'https://adoptopenjdk.net/releases.html?variant=openjdk11&jvmVariant=hotspot#x64_win'
bundledJrePath
=
'%JAVA_HOME%'
downloadUrl
=
'https://adoptopenjdk.net/releases.html?variant=openjdk14&jvmVariant=hotspot#x64_win'
// bundledJrePath = '%JAVA_HOME%'
bundledJrePath
=
'%EXEDIR%/jre'
// TODO: merge java search paths
}
runtime
{
addOptions
(
'--strip-debug'
,
'--compress'
,
'2'
,
'--no-header-files'
,
'--no-man-pages'
)
addModules
(
'java.desktop'
,
'java.naming'
,
'java.sql'
,
// TODO: GSON register adapter for java.sql.Time
'java.xml'
,
)
jpackage
{
imageOptions
=
[
'--icon'
,
"${projectDir}/src/main/resources/logos/jadx-logo.ico"
]
skipInstaller
=
true
}
launcher
{
noConsole
=
true
}
}
task
distWinWithJre
(
type:
Zip
,
dependsOn:
[
'runtime'
,
'createExe'
])
{
group
'jadx'
destinationDirectory
=
buildDir
archiveFileName
=
"jadx-gui-${jadxVersion}-with-jre-win.zip"
from
(
runtime
.
jreDir
)
{
include
'**/*'
into
'jre'
}
from
(
createExe
.
outputs
){
include
'*.exe'
}
duplicatesStrategy
=
DuplicatesStrategy
.
EXCLUDE
}
test
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录