Gradle configuration that publishes linuxArm64 publication from terminal
Some checks are pending
Some checks are pending
This commit is contained in:
parent
c39c9ec71e
commit
09622f8226
@ -371,14 +371,8 @@ kotlin {
|
||||
defaultSourceSet.dependsOn(nativeMain)
|
||||
}
|
||||
if (linuxArm64Bit.contains(this@withType.name)) {
|
||||
defaultSourceSet.dependsOn(
|
||||
createWorkaroundNativeMainSourceSet(
|
||||
this@withType.name,
|
||||
nativeDependencies
|
||||
)
|
||||
)
|
||||
defaultSourceSet.dependsOn(nativeMain)
|
||||
|
||||
this@withType.compilations.getByName("main") {
|
||||
val libsodiumCinterop by cinterops.creating {
|
||||
defFile(projectRef.file("src/nativeInterop/cinterop/libsodium.def"))
|
||||
compilerOpts.add("-I${projectRef.rootDir}/sodiumWrapper/static-arm64/include/")
|
||||
@ -387,7 +381,6 @@ kotlin {
|
||||
"-include-binary", "${projectRef.rootDir}/sodiumWrapper/static-arm64/lib/libsodium.a"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
if (macos64Bit.contains(this@withType.name)) {
|
||||
defaultSourceSet.dependsOn(
|
||||
|
Loading…
x
Reference in New Issue
Block a user