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
c64f55c3
Unverified
Commit
c64f55c3
authored
Jul 22, 2022
by
Pavel
Committed by
GitHub
Jul 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set proper dylib id and version (#559)
parent
d554627d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
build.gradle.kts
skiko/build.gradle.kts
+2
-0
properties.kt
skiko/buildSrc/src/main/kotlin/properties.kt
+3
-2
No files found.
skiko/build.gradle.kts
View file @
c64f55c3
...
@@ -890,6 +890,8 @@ fun createLinkJvmBindings(
...
@@ -890,6 +890,8 @@ fun createLinkJvmBindings(
"-shared"
,
"-shared"
,
"-dead_strip"
,
"-dead_strip"
,
"-lobjc"
,
"-lobjc"
,
"-install_name"
,
"./${libOutputFileName.get()}"
,
"-current_version"
,
skiko
.
planeDeployVersion
,
"-framework"
,
"AppKit"
,
"-framework"
,
"AppKit"
,
"-framework"
,
"CoreFoundation"
,
"-framework"
,
"CoreFoundation"
,
"-framework"
,
"CoreGraphics"
,
"-framework"
,
"CoreGraphics"
,
...
...
skiko/buildSrc/src/main/kotlin/properties.kt
View file @
c64f55c3
...
@@ -108,10 +108,11 @@ class SkikoProperties(private val myProject: Project) {
...
@@ -108,10 +108,11 @@ class SkikoProperties(private val myProject: Project) {
val
isCIBuild
:
Boolean
val
isCIBuild
:
Boolean
get
()
=
myProject
.
hasProperty
(
"teamcity"
)
get
()
=
myProject
.
hasProperty
(
"teamcity"
)
val
planeDeployVersion
:
String
=
myProject
.
property
(
"deploy.version"
)
as
String
val
deployVersion
:
String
val
deployVersion
:
String
get
()
{
get
()
{
val
version
=
myProject
.
property
(
"deploy.version"
)
as
String
return
if
(
isRelease
)
planeDeployVersion
else
"$planeDeployVersion-SNAPSHOT"
return
if
(
isRelease
)
version
else
"$version-SNAPSHOT"
}
}
val
isRelease
:
Boolean
val
isRelease
:
Boolean
...
...
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