- package.json: version 0.2.0, description, author VOX Games, homepage, bugs, repository, keywords, engines, files (adds CHANGELOG.md) - @capacitor/docgen: docgen script, run by build; dist/docs.json - podspec: short summary, homepage from package.json, source at the git.crt.fyi repo and tag v<version> - verify:android: standalone Gradle build of the library (wrapper 8.14.3, settings.gradle pointing at @capacitor/android dev dependency)
23 lines
855 B
Ruby
23 lines
855 B
Ruby
require 'json'
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
repo = 'https://git.crt.fyi/CRT/capacitor-levelplay'
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = 'CapacitorLevelplay'
|
|
s.version = package['version']
|
|
s.summary = 'Capacitor plugin for Unity LevelPlay rewarded and interstitial ads.'
|
|
s.description = package['description']
|
|
s.license = package['license']
|
|
s.homepage = package['homepage']
|
|
s.author = package['author']['name']
|
|
s.source = { :git => "#{repo}.git", :tag => "v#{s.version}" }
|
|
s.source_files = 'ios/Sources/**/*.{swift,h,m}'
|
|
s.ios.deployment_target = '15.0'
|
|
s.dependency 'Capacitor'
|
|
# Unity LevelPlay SDK (ironSource), https://cocoapods.org/pods/IronSourceSDK
|
|
s.dependency 'IronSourceSDK', '~> 9.6.1'
|
|
s.frameworks = 'AppTrackingTransparency'
|
|
s.swift_version = '5.9'
|
|
s.static_framework = true
|
|
end
|