Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
skiko
Project
Project
Details
Activity
Releases
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
liuqiang
skiko
Commits
4a508c0c
Unverified
Commit
4a508c0c
authored
Jul 04, 2025
by
Victor Kropp
Committed by
GitHub
Jul 04, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update passing jvmArgs in samples to the latest Gradle (#1068)
fixes SKIKO-1035
parent
c85a4ea7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
build.gradle.kts
samples/SkiaAwtSample/build.gradle.kts
+2
-2
build.gradle.kts
samples/SkiaMultiplatformSample/build.gradle.kts
+1
-1
No files found.
samples/SkiaAwtSample/build.gradle.kts
View file @
4a508c0c
...
@@ -56,8 +56,8 @@ val casualRun = tasks.named<JavaExec>("run") {
...
@@ -56,8 +56,8 @@ val casualRun = tasks.named<JavaExec>("run") {
systemProperty
(
"skiko.hardwareInfo.enabled"
,
"true"
)
systemProperty
(
"skiko.hardwareInfo.enabled"
,
"true"
)
systemProperty
(
"skiko.win.exception.logger.enabled"
,
"true"
)
systemProperty
(
"skiko.win.exception.logger.enabled"
,
"true"
)
systemProperty
(
"skiko.win.exception.handler.enabled"
,
"true"
)
systemProperty
(
"skiko.win.exception.handler.enabled"
,
"true"
)
jvmArgs
?.
add
(
"-ea"
)
jvmArgs
(
"-ea"
)
// jvmArgs
?.add
("-Xcheck:jni")
// jvmArgs("-Xcheck:jni")
// Use systemProperty("skiko.library.path", "/tmp") to test loader.
// Use systemProperty("skiko.library.path", "/tmp") to test loader.
System
.
getProperties
().
entries
System
.
getProperties
().
entries
.
associate
{
.
associate
{
...
...
samples/SkiaMultiplatformSample/build.gradle.kts
View file @
4a508c0c
...
@@ -244,7 +244,7 @@ project.tasks.register<JavaExec>("runAwt") {
...
@@ -244,7 +244,7 @@ project.tasks.register<JavaExec>("runAwt") {
systemProperty
(
"skiko.hardwareInfo.enabled"
,
"true"
)
systemProperty
(
"skiko.hardwareInfo.enabled"
,
"true"
)
systemProperty
(
"skiko.win.exception.logger.enabled"
,
"true"
)
systemProperty
(
"skiko.win.exception.logger.enabled"
,
"true"
)
systemProperty
(
"skiko.win.exception.handler.enabled"
,
"true"
)
systemProperty
(
"skiko.win.exception.handler.enabled"
,
"true"
)
jvmArgs
?.
add
(
"-ea"
)
jvmArgs
(
"-ea"
)
System
.
getProperties
().
entries
System
.
getProperties
().
entries
.
associate
{
.
associate
{
(
it
.
key
as
String
)
to
(
it
.
value
as
String
)
(
it
.
key
as
String
)
to
(
it
.
value
as
String
)
...
...
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