Closed SamuelMarks closed 7 months ago
You need to build it on macOS, because it needs Xcode command tool.
@qiaoyuang Sure but is there a flag or something so I can build it here and disable the iOS & macOS builds?
According to your information: Try to add the 2 properties NEXUS_USERNAME
and NEXUS_PASSWORD
into your global gradle.properties
file, the values are not important, if these 2 properties exist, you can pass the building.
@SamuelMarks Hi, did it work?
Ok cool I got it to build [only the Apple platforms failed] once I set these variables in the gradle.properties
:
# MMKV
NEXUS_USERNAME=mynexususername
NEXUS_PASSWORD=mynexuspassword
SIGNING_KEY_ID=mysigningkeyid
SIGNING_KEY=mysigningkey
SIGNING_PASSWORD=mysigningpassword
(you might want to add this instruction to your README)
Okay, I will add it. Thx
Configuration on demand is an incubating feature.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Where: Build file 'mmkv-kotlin/mmkv-kotlin/build.gradle.kts' line: 126
What went wrong: Cannot get non-null property 'NEXUS_USERNAME' on project ':mmkv-kotlin' as it does not exist
Try:
2: Task failed with an exception.
Where: Build file 'mmkv-kotlin/mmkv-kotlin/build.gradle.kts' line: 126
What went wrong: Cannot get non-null property 'NEXUS_USERNAME' on project ':mmkv-kotlin' as it does not exist
Try:
BUILD FAILED in 1s
Running Android Studio (Iguana - 2023.2.1) on Ubuntu 23.10