Skip to content

Commit 019b299

Browse files
committed
Cross Compile
1 parent fc0d2e4 commit 019b299

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

build.gradle.kts

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,14 @@ if (localPropertiesFile.exists()) {
1818
localPropertiesFile.inputStream().use { localProps.load(it) }
1919
}
2020

21-
val signingKey by
22-
extra(
23-
localProps["signing.keyFile"]?.let { rootDir.resolve(it.toString()).readText() }
24-
?: System.getenv("SIGNING_KEY")
25-
?: "",
26-
)
27-
val signingPassword by
28-
extra(
29-
localProps.getOrDefault(
30-
"signing.password",
31-
System.getenv("SIGNING_PASSWORD") ?: "",
32-
),
33-
)
21+
val signingKey by extra(
22+
localProps["signing.keyFile"]?.let { rootDir.resolve(it.toString()).readText() }
23+
?: System.getenv("SIGNING_KEY")
24+
?: "",
25+
)
26+
val signingPassword by extra(
27+
localProps.getOrDefault(
28+
"signing.password",
29+
System.getenv("SIGNING_PASSWORD") ?: "",
30+
),
31+
)

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
kotlin.code.style=official
22
android.useAndroidX=true
3-
org.gradle.jvmargs=-Xmx4096m
3+
org.gradle.jvmargs=-Xmx4096m
4+
kotlin.native.enableKlibsCrossCompilation=true

0 commit comments

Comments
 (0)