Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
bf42b975
Commit
bf42b975
authored
Jan 23, 2019
by
Jan S
Committed by
skylot
Jan 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: compile for Java 8; enable G1GC on Java 8 (PR #436)
parent
f8c0449d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
build.gradle
jadx-gui/build.gradle
+7
-2
No files found.
jadx-gui/build.gradle
View file @
bf42b975
...
...
@@ -7,6 +7,9 @@ apply plugin: 'application'
mainClassName
=
'jadx.gui.JadxGUI'
sourceCompatibility
=
JavaVersion
.
VERSION_1_8
targetCompatibility
=
JavaVersion
.
VERSION_1_8
dependencies
{
compile
(
project
(
":jadx-core"
))
compile
(
project
(
":jadx-cli"
))
...
...
@@ -42,7 +45,8 @@ jar {
}
startScripts
{
defaultJvmOpts
=
[
'-Xms128M'
,
'-Xmx4g'
,
'-Dawt.useSystemAAFontSettings=lcd'
,
'-Dswing.aatext=true'
]
// The option -XX:+UseG1GC is only relevant for Java 8. Starting with Java 9 G1GC is already the default GC
defaultJvmOpts
=
[
'-Xms128M'
,
'-Xmx4g'
,
'-Dawt.useSystemAAFontSettings=lcd'
,
'-Dswing.aatext=true'
,
'-XX:+UseG1GC'
]
doLast
{
def
str
=
windowsScript
.
text
str
=
str
.
replaceAll
(
'java.exe'
,
'javaw.exe'
)
...
...
@@ -61,7 +65,8 @@ launch4j {
copyright
=
'Skylot'
windowTitle
=
'jadx'
companyName
=
'jadx'
jvmOptions
=
[
'-Dawt.useSystemAAFontSettings=lcd'
,
'-Dswing.aatext=true'
]
jreMinVersion
=
'1.8.0'
jvmOptions
=
[
'-Dawt.useSystemAAFontSettings=lcd'
,
'-Dswing.aatext=true'
,
'-XX:+UseG1GC'
]
jreRuntimeBits
=
"64"
initialHeapPercent
=
5
maxHeapSize
=
4096
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment