Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1306 We are deprecating YogaKit as part of Yoga 2.0, with that version planned as the last release. Mark the podspec as deprecated. We are also deprecating the Android ViewGroup in a similar way but from the googling I did there is not an equivalent way to do that for Maven artifacts. Reviewed By: cortinico Differential Revision: D46663201 fbshipit-source-id: 14e89df8f20470996b5c4b25f098d27cd3f49c7f
35 lines
1.4 KiB
Ruby
35 lines
1.4 KiB
Ruby
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
podspec = Pod::Spec.new do |spec|
|
|
spec.name = 'YogaKit'
|
|
spec.version = '2.0.0'
|
|
spec.license = { :type => 'MIT', :file => "LICENSE" }
|
|
spec.homepage = 'https://facebook.github.io/yoga/'
|
|
spec.documentation_url = 'https://facebook.github.io/yoga/docs/'
|
|
spec.deprecated = true
|
|
|
|
spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.'
|
|
spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.'
|
|
|
|
spec.authors = 'Facebook'
|
|
spec.source = {
|
|
:git => 'https://github.com/facebook/yoga.git',
|
|
:tag => "v#{spec.version.to_s}",
|
|
}
|
|
|
|
spec.platforms = { :ios => "13.4" }
|
|
spec.ios.frameworks = 'UIKit'
|
|
spec.module_name = 'YogaKit'
|
|
spec.dependency 'Yoga', "~> #{spec.version.to_s}"
|
|
spec.source_files = 'YogaKit/Source/*.{h,m,swift}'
|
|
spec.public_header_files = 'YogaKit/Source/{YGLayout,UIView+Yoga}.h'
|
|
spec.private_header_files = 'YogaKit/Source/YGLayout+Private.h'
|
|
spec.swift_version = '5.1'
|
|
end
|
|
|
|
# See https://github.com/facebook/yoga/pull/366
|
|
podspec.attributes_hash["readme"] = "YogaKit/README.md"
|