mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-03 19:57:40 +01:00
39 lines
1.6 KiB
Plaintext
39 lines
1.6 KiB
Plaintext
|
Pod::Spec.new do |spec|
|
||
|
spec.name = 'core_commonui'
|
||
|
spec.version = '1.0'
|
||
|
spec.homepage = 'Link to the Shared Module homepage'
|
||
|
spec.source = { :http=> ''}
|
||
|
spec.authors = ''
|
||
|
spec.license = ''
|
||
|
spec.summary = 'Some description for the Shared Module'
|
||
|
spec.vendored_frameworks = 'build/cocoapods/framework/core-commonui.framework'
|
||
|
spec.libraries = 'c++'
|
||
|
spec.ios.deployment_target = '14.1'
|
||
|
|
||
|
|
||
|
spec.pod_target_xcconfig = {
|
||
|
'KOTLIN_PROJECT_PATH' => ':core-commonui',
|
||
|
'PRODUCT_MODULE_NAME' => 'core-commonui',
|
||
|
}
|
||
|
|
||
|
spec.script_phases = [
|
||
|
{
|
||
|
:name => 'Build core_commonui',
|
||
|
:execution_position => :before_compile,
|
||
|
:shell_path => '/bin/sh',
|
||
|
:script => <<-SCRIPT
|
||
|
if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then
|
||
|
echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
|
||
|
exit 0
|
||
|
fi
|
||
|
set -ev
|
||
|
REPO_ROOT="$PODS_TARGET_SRCROOT"
|
||
|
"$REPO_ROOT/../gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework \
|
||
|
-Pkotlin.native.cocoapods.platform=$PLATFORM_NAME \
|
||
|
-Pkotlin.native.cocoapods.archs="$ARCHS" \
|
||
|
-Pkotlin.native.cocoapods.configuration="$CONFIGURATION"
|
||
|
SCRIPT
|
||
|
}
|
||
|
]
|
||
|
|
||
|
end
|