// swift-tools-version:5.3 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "ArticlesDatabase", platforms: [.macOS(SupportedPlatform.MacOSVersion.v10_15), .iOS(SupportedPlatform.IOSVersion.v13)], products: [ .library( name: "ArticlesDatabase", targets: ["ArticlesDatabase"]), ], dependencies: [ .package(url: "https://github.com/Ranchero-Software/RSCore.git", .upToNextMajor(from: "1.0.0-beta1")), .package(url: "https://github.com/Ranchero-Software/RSDatabase.git", .upToNextMajor(from: "1.0.0-beta1")), .package(url: "https://github.com/Ranchero-Software/RSParser.git", .upToNextMajor(from: "2.0.0-beta1")), .package(url: "../Articles", .upToNextMajor(from: "1.0.0")), ], targets: [ .target( name: "ArticlesDatabase", dependencies: [ .product(name: "RSCore", package: "RSCore"), .product(name: "RSDatabase", package: "RSDatabase"), .product(name: "RSParser", package: "RSParser"), .product(name: "Articles", package: "Articles"), ]), ] )